var FR0000074197_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.3804089396101],[2009,0.6334278941437],[2010,12.039466778629],[2011,-0.9769125347015],[2012,-6.9094036697248],[2013,3.5594813005074],[2014,4.1615938018816],[2015,3.2171488323458],[2016,618.18181818182],[2017,58.064516129032],[2018,2.186973404645],[2019,-2.3829787234043],[2020,3.2959715902785],[2021,-0.8635097493036],[2022,0.5302177177177],[2023,0.1416229995751]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.2948535059805],[2009,-0.8821357789609],[2010,6.4623351177356],[2011,-17.963945602137],[2012,-9.0309633027523],[2013,1.8455177598196],[2014,1.2912746725696],[2015,1.2826768909028],[2016,322.27272727273],[2017,341.29032258065],[2018,0.7876034874350],[2019,-4.4255319148936],[2020,0.2219509488403],[2021,-1.8384401114206],[2022,-0.5349099099099],[2023,-0.8639002974083]], "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: 'FR0000074197_marges_an', data: FR0000074197_marges_an, height: "350", width: "100%" });