var FR0000060618_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": [[2008,3.9255637055148],[2009,4.1414950141932],[2010,4.2343854936199],[2011,3.94215135351],[2012,5.5575088484167],[2013,5.2731919036223],[2014,3.5296511036517],[2015,4100000],[2016,4515000],[2017,6060000],[2018,2.2002933724497],[2019,1.6218400092347],[2020,1.8954227889345],[2021,1.675666830306],[2022,-260],[2023,-720]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-0.2920402064656],[2009,0.3675667806973],[2010,0.0402955003358],[2011,0.0599024445902],[2012,0.5742681011649],[2013,0.3528982273963],[2014,-0.0651001932662],[2015,-830000],[2016,6015000],[2017,-510000],[2018,-0.5947459661288],[2019,-2.7992612259033],[2020,-0.958676650271],[2021,-0.9065619374898],[2022,-5080],[2023,-78660]], "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: 'FR0000060618_marges_an', data: FR0000060618_marges_an, height: "350", width: "100%" });