var FR0000038242_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": [[2006,null],[2007,null],[2008,-5.8909792571153],[2009,-11.296562893648],[2010,2.1306185033965],[2011,2.7484108397457],[2012,6.3306588767282],[2013,2.2321097515758],[2014,-0.6120619079178],[2015,3.764020533947],[2016,1.7496720352779],[2017,11.296469020653],[2018,11.330685203575],[2019,10.205924855491],[2020,6.8350574848693],[2021,11.774626387966],[2022,9.0391131080494],[2023,5.9783889980354]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2006,null],[2007,null],[2008,-9.4220935841775],[2009,-15.116069821846],[2010,1.3068982117068],[2011,2.0374707259953],[2012,-6.9929370335541],[2013,-0.6284760845384],[2014,-2.1539121281821],[2015,3.4212516695901],[2016,1.0210371587981],[2017,6.7021985343105],[2018,8.0139026812314],[2019,7.9660404624277],[2020,4.4488633225229],[2021,8.5296796907699],[2022,5.945255264219],[2023,3.5]], "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: 'FR0000038242_marges_an', data: FR0000038242_marges_an, height: "350", width: "100%" });