var FR0000073272_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,7.8613612159938],[2009,6.3457120980092],[2010,8.6235038084875],[2011,9.8841172460804],[2012,10.479351032448],[2013,11.956447771351],[2014,12.907847606643],[2015,9.9575054553807],[2016,20.258463778668],[2017,114351.85185185],[2018,9.3983353151011],[2019,15.288070762611],[2020,5.5739282063616],[2021,5.7093768585211],[2022,10.464580238693],[2023,11.830366580694]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.8753993610224],[2009,3.5987748851455],[2010,1.8770402611534],[2011,5.4873892297205],[2012,7.3672566371681],[2013,8.11840762164],[2014,8.1276457180072],[2015,8.5103939359136],[2016,11.576265016382],[2017,221759.25925926],[2018,6.10225921522],[2019,9.7497808590326],[2020,2.1165293728579],[2021,0.2841472279125],[2022,-12.595400297085],[2023,14.561752145787]], "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: 'FR0000073272_marges_an', data: FR0000073272_marges_an, height: "350", width: "100%" });