var FR0012757854_marges_an = { "type": "bar", "plot":{ "tooltip" : { "text": "%v%", "decimals": 1, }, }, "title":{ "text": "Marges", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Marge Opérationnelle", "values": [[2012,5.4499800813078],[2013,5.6536767739263],[2014,4.6322105769056],[2015,4.9245625756073],[2016,5.8635890109178],[2017,70545.454545455],[2018,4.1694771481154],[2019,4.8432152761918],[2020,3.0271648307289],[2021,4.8321046447488],[2022,3.7833560827112],[2023,5.2783778796773]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,1.169590780881],[2013,0.8302389326321],[2014,-0.3408789983550],[2015,0.8336197610650],[2016,3.5692541399333],[2017,20073.090909091],[2018,1.3660919316138],[2019,2.1651127887023],[2020,0.7990654317888],[2021,2.4177108446482],[2022,1.86767565036],[2023,2.7335688916344]], "background-color": "rgb(27, 139, 61)", }, ], "plotarea" : { "margin-right":"20", "margin-left":"50", "margin-bottom":"50", "margin-top":"70", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "legend": { "layout":"1x2", "x" : 0, "y" : 33, "item": { "font-size": "11px" } }, "scale-y" : { "format":"%v%", "guide": {"line-color": "rgb(127,127,127)",}, "item": { "font-size": "12px" } }, "scale-x" : { "item": { "font-size": "12px" }, } } zingchart.render({ id: 'FR0012757854_marges_an', data: FR0012757854_marges_an, height: "350", width: "100%" });