var FR0000064784_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,-2201.8245614035],[2009,1289.3947806774],[2010,1090.1896125309],[2011,2083.2264430192],[2012,666.94860641212],[2013,1673.9575435936],[2014,2526.5666666667],[2015,null],[2016,null],[2017,2179.2452830189],[2018,3678.5868392665],[2019,5042.1590546151],[2020,6052.6960784314],[2021,414818.36734694],[2022,92.233849543187],[2023,85.137462124012]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-3779.9298245614],[2009,-14616.379789006],[2010,10653.256389118],[2011,8945.1899358658],[2012,-7253.5685516353],[2013,-40402.19863533],[2014,10258.866666667],[2015,null],[2016,null],[2017,2092.2075471698],[2018,3097.950377562],[2019,4195.3050143724],[2020,4107.3835784314],[2021,310514.28571429],[2022,76.899177088058],[2023,50.489616436331]], "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: 'FR0000064784_marges_an', data: FR0000064784_marges_an, height: "350", width: "100%" });