var FR0010820274_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": [[2010,null],[2011,null],[2012,null],[2013,-6.0789487298877],[2014,-5.9114643403863],[2015,0.1744330924495],[2016,0.6547923331859],[2017,1114.2857142857],[2018,4.4767543390211],[2019,8.650896378813],[2020,8.8092687004745],[2021,13.366366136269],[2022,12.236453747324],[2023,10.577098124886]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,-13.585803714626],[2014,-10.648604441462],[2015,5.9805631696985],[2016,0.0574379239637],[2017,500.85714285714],[2018,3.8638552927325],[2019,8.6169233330276],[2020,2.1429160141762],[2021,8.9818574992125],[2022,8.4985202860187],[2023,4.8971418168578]], "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: 'FR0010820274_marges_an', data: FR0010820274_marges_an, height: "350", width: "100%" });