var FR0000039620_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,14.095784861762],[2009,7.7643453090414],[2010,9.9298434970318],[2011,11.861137897782],[2012,7.9067472554582],[2013,1.2587980508933],[2014,2.9689423997811],[2015,4.5843045843046],[2016,4.2168674698795],[2017,7936.170212766],[2018,9.9943084803643],[2019,9.5664070721953],[2020,2.0302171860246],[2021,9.5036844386649],[2022,9.8851811984212],[2023,10.851432818565]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.3964345067231],[2009,2.4859526647369],[2010,5.1807879114949],[2011,6.8587270973963],[2012,0.6907610706797],[2013,-3.9523551705468],[2014,0.2873170064304],[2015,0.1683501683502],[2016,0.2357255107386],[2017,4255.3191489362],[2018,6.4314171883893],[2019,6.0303094085456],[2020,-1.4164305949008],[2021,5.8951018638925],[2022,6.0728381772515],[2023,6.7387893302502]], "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: 'FR0000039620_marges_an', data: FR0000039620_marges_an, height: "350", width: "100%" });