var FR0000053324_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": [[2009,14.41622567607],[2010,12.781028590202],[2011,10.293026474953],[2012,8.8723422151195],[2013,7.2754570942712],[2014,8.7621502124123],[2015,9.6162053342415],[2016,10.148449204989],[2017,10825.581395349],[2018,12.106386430863],[2019,12.307335619799],[2020,-17.942303943863],[2021,-29.388535561375],[2022,14.707784755983],[2023,11.851154194729]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,6.9716446518605],[2010,7.0465619515825],[2011,4.7833867488059],[2012,4.0922029456424],[2013,0.2791899509316],[2014,3.6642558644256],[2015,4.3155884521043],[2016,4.6427346534681],[2017,3641.8604651163],[2018,7.1390237509829],[2019,7.2884307110798],[2020,-16.949840816061],[2021,-50.575716007815],[2022,11.934817535001],[2023,8.0296056723473]], "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: 'FR0000053324_marges_an', data: FR0000053324_marges_an, height: "350", width: "100%" });