var FR0000051732_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,1.7853649862185],[2009,1.357519016969],[2010,3.9855794128192],[2011,5.1038532110092],[2012,4.312381986138],[2013,4.837136953544],[2014,4.8645483471805],[2015,5.514950166113],[2016,6.9391935139748],[2017,129200],[2018,6.8281938325991],[2019,5.695547117708],[2020,5.8134335032645],[2021,-25.537411200295],[2022,-7.0541259982254],[2023,-29.047040119704]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,0.401884947097],[2009,0.6182952993954],[2010,2.3124726128351],[2011,2.6656880733945],[2012,2.5304433363861],[2013,3.0367051285028],[2014,2.9299982322786],[2015,3.8014131299424],[2016,4.9396202261575],[2017,60070],[2018,5.1395007342144],[2019,29.332067656196],[2020,4.9190591181469],[2021,-27.327244210721],[2022,-8.9795918367347],[2023,-32.179930795848]], "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: 'FR0000051732_marges_an', data: FR0000051732_marges_an, height: "350", width: "100%" });