var FR0000053043_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,2.7344601650085],[2009,2.4192504559628],[2010,7.1489649202445],[2011,2.8812227698022],[2012,2.9592130715726],[2013,2.665211690108],[2014,3.5746127393067],[2015,1.6280905879909],[2016,0.2538578063356],[2017,1186.2745098039],[2018,2.4404000171147],[2019,1.9945082563714],[2020,-0.3392414866925],[2021,3.0840651282619],[2022,2.7188820956007],[2023,-2.1408049984659]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,0.6884918585838],[2009,0.7618991586751],[2010,5.0086036716037],[2011,1.7889198390591],[2012,0.9818313189100],[2013,1.4626106949758],[2014,2.040941810979],[2015,1.4174111780594],[2016,0.6192465833236],[2017,831.96078431373],[2018,1.7390864642206],[2019,1.2423944602411],[2020,-1.6469952320638],[2021,1.4387308338715],[2022,0.9964981550683],[2023,-4.9015369166829]], "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: 'FR0000053043_marges_an', data: FR0000053043_marges_an, height: "350", width: "100%" });