var FR0000064404_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,-4.8539295933985],[2010,-7.0248735433235],[2011,0.2481736961336],[2012,1.968186364663],[2013,1.1307988486412],[2014,-0.7449300827293],[2015,-0.7537289749286],[2016,367.56756756757],[2017,1060.8695652174],[2018,5.1093562356709],[2019,4.8745148771022],[2020,-4.3871232796314],[2021,-0.6799823539255],[2022,0.7514171993728],[2023,5.7242540416641]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,-3.4364810008651],[2010,-5.1388412241305],[2011,0.7941558276275],[2012,1.3825702578001],[2013,0.5102612986430],[2014,0.0494179661761],[2015,-1.2234211361473],[2016,61.081081081081],[2017,437.17391304348],[2018,3.6173077622912],[2019,3.3544631306598],[2020,-5.3599201807671],[2021,-1.6885467849156],[2022,0.6211554697865],[2023,4.1643846731171]], "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: 'FR0000064404_marges_an', data: FR0000064404_marges_an, height: "350", width: "100%" });