var FR0000131906_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": [[2002,null],[2003,null],[2004,null],[2005,null],[2006,2.6356243181593],[2007,3.3282532815496],[2008,0.5609801275436],[2009,-1.1746559088752],[2010,2.8200456749891],[2011,2.559350661537],[2012,1.7664162830143],[2013,3.0343007915567],[2014,3.9191328705395],[2015,4.6793302005427],[2016,6.4067287239233],[2017,988205.12820513],[2018,5.2021107995611],[2019,3.7902659488269],[2020,-4.5981506187606],[2021,2.1603975131424],[2022,4.7293213607322],[2023,4.744539483733]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2002,null],[2003,null],[2004,null],[2005,null],[2006,7.1556084498661],[2007,6.5606410697606],[2008,1.5109417586198],[2009,-9.2696962505933],[2010,8.7757563316312],[2011,4.9075724875669],[2012,4.2936757935546],[2013,1.4316427245187],[2014,4.6035805626598],[2015,6.2280759812033],[2016,6.6721308276252],[2017,1311282.0512821],[2018,5.750709695397],[2019,-0.2538847975224],[2020,-18.420205180108],[2021,2.1315922129672],[2022,-0.7641167328613],[2023,4.1965785856117]], "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: 'FR0000131906_marges_an', data: FR0000131906_marges_an, height: "350", width: "100%" });