var FR0000061137_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,-0.3448872731963],[2009,2.7208153180976],[2010,6.2509918596769],[2011,6.679939528425],[2012,6.2067898371652],[2013,6.4420443639939],[2014,7.3400922788441],[2015,145555.55555556],[2016,172857.14285714],[2017,7.3464186209223],[2018,8.1264121212121],[2019,9.8715787957361],[2020,-2.5209043860397],[2021,3.6260969213734],[2022,3.8214550291443],[2023,3.3618036049907]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-1.6648362869596],[2009,0.5963313936478],[2010,2.3116942870113],[2011,2.5117304007983],[2012,2.2538645551566],[2013,2.1462037810045],[2014,3.0287753026815],[2015,55570.37037037],[2016,67301.785714286],[2017,3.1146815927235],[2018,3.8489696969697],[2019,3.8017862287525],[2020,-1.635710692669],[2021,1.2365634292274],[2022,1.4759235956986],[2023,1.0747736532554]], "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: 'FR0000061137_marges_an', data: FR0000061137_marges_an, height: "350", width: "100%" });