var FR0000061244_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,-2.1713752042961],[2009,-9.9901496615932],[2010,6.528575137755],[2011,0],[2012,-1.5598873536918],[2013,-7.1586250394197],[2014,-15.690527838033],[2015,2.2983870967742],[2016,11.341515023275],[2017,0.1270863339829],[2018,2.2869198312236],[2019,145.45454545455],[2020,0],[2021,-0.8945606956304],[2022,-3.5878407306979],[2023,-2.1942663602274]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-3.6773289750175],[2009,-9.8058530075307],[2010,9.7683408822087],[2011,0],[2012,-0.5390301856904],[2013,-16.146326080101],[2014,-29.248011569053],[2015,-0.6451612903226],[2016,3.639441388066],[2017,-5.9476404303991],[2018,3.8945147679325],[2019,96.545454545455],[2020,null],[2021,-0.7131462888242],[2022,-4.8323105465963],[2023,-4.8748034353453]], "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: 'FR0000061244_marges_an', data: FR0000061244_marges_an, height: "350", width: "100%" });