var FR0000073041_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,4.3394948464192],[2010,0.4762355183274],[2011,1.3470966688328],[2012,-0.9508313167601],[2013,-2.3946711278013],[2014,0.1839718418520],[2015,0.7701471938128],[2016,2.7326492907016],[2017,2.6721924859802],[2018,5055.5555555556],[2019,1.5121611721612],[2020,-19.385873712568],[2021,-16.995484402409],[2022,14.675066193723],[2023,10.580783838474]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,2.9121055920778],[2010,0.5097268494677],[2011,0.7144096542949],[2012,-1.9288634701221],[2013,-3.6476050610205],[2014,-1.6524260403523],[2015,-0.8393714696162],[2016,-0.5414447073634],[2017,-3.9799790782209],[2018,-25525],[2019,-2.4192673992674],[2020,-36.298972785736],[2021,-45.502008117832],[2022,18.054496862582],[2023,-3.532059122345]], "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: 'FR0000073041_marges_an', data: FR0000073041_marges_an, height: "350", width: "100%" });