var FR0000062341_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.0176754151044],[2009,0.1170275014628],[2010,1.3403990024938],[2011,-12.433075550268],[2012,-2.0681945220794],[2013,-11.862244897959],[2014,-10.676278750429],[2015,-12.443042411497],[2016,-10.56616194865],[2017,-22.319749216301],[2018,6.5671641791045],[2019,0.2766251728907],[2020,-1.4802631578947],[2021,12.727272727273],[2022,-38.610554442218]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,4.9812533476165],[2009,3.5985956699824],[2010,4.145885286783],[2011,5.9190957763236],[2012,2.8228060368921],[2013,-5.8354591836735],[2014,-13.07929969104],[2015,-14.651244304241],[2016,-13.923633969717],[2017,-11.41065830721],[2018,5.6716417910448],[2019,2.3858921161826],[2020,-2.6726973684211],[2021,13.198653198653],[2022,883.90113560454]], "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: 'FR0000062341_marges_an', data: FR0000062341_marges_an, height: "350", width: "100%" });