var FR0000060790_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": [[2009,10.586767118856],[2010,0.1148813791934],[2011,2.8307354191912],[2012,4.4908233302089],[2013,3.5542943150105],[2014,2.058550373511],[2015,-3.4671858979786],[2016,953.33333333333],[2017,-1130.4347826087],[2018,-5.7028580781113],[2019,2.6896062504371],[2020,-5.8006592444045],[2021,-1.2862720270128],[2022,-3.1574432410828],[2023,3.3965777697548]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,7.016246446812],[2010,-1.1572949675788],[2011,1.9824932449215],[2012,3.019079007045],[2013,2.0021322630209],[2014,1.3615990308904],[2015,-2.320550084187],[2016,-200],[2017,43.478260869565],[2018,-3.4871826346693],[2019,1.4606999770205],[2020,-6.054214784593],[2021,-1.5521789595864],[2022,-3.5590692414923],[2023,2.8274728511301]], "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: 'FR0000060790_marges_an', data: FR0000060790_marges_an, height: "350", width: "100%" });