var FR0004023208_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.1167992868862],[2009,4.4550237649542],[2010,4.4617789334104],[2011,5.713217181248],[2012,4.1051210392481],[2013,7.3429002659256],[2014,7.4019780027898],[2015,11.163602508781],[2016,12.93205621266],[2017,16.979600350325],[2018,18.663704513324],[2019,15.521390812757],[2020,14.950455187577],[2021,16.372921966735],[2022,12.160624501797],[2023,7.5996129216321]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-8.7487080574948],[2009,1.6745626401054],[2010,2.8044462223407],[2011,2.8903818669944],[2012,3.4767522796512],[2013,4.4683484663361],[2014,5.8779696944471],[2015,4.273348843553],[2016,7.1792685581598],[2017,9.8586257938892],[2018,11.711593979067],[2019,9.2988493466019],[2020,10.130851850312],[2021,13.104703856231],[2022,7.887912226846],[2023,4.9982458101851]], "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: 'FR0004023208_marges_an', data: FR0004023208_marges_an, height: "350", width: "100%" });