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,12.218437736166],[2018,10659.340659341],[2019,12.307335619799],[2020,-17.195136807738],[2021,-51.709876004373],[2022,17.678086500573],[2023,12.405916498366]], "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,4.1092870937946],[2018,6285.6043956044],[2019,7.2884307110798],[2020,-16.948891000495],[2021,-50.575085317139],[2022,11.934854888231],[2023,8.0296731211955]], "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%" });