var FR0000125585_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,4.2119565217391],[2009,4.3838995403072],[2010,4.5188802531123],[2011,4.0481941736271],[2012,5.6705820685712],[2013,5.3941823414534],[2014,3.579898129627],[2015,2.0955683172608],[2016,1.135165140161],[2017,828000],[2018,2.2784395148071],[2019,1.6568047337278],[2020,1.9679117573327],[2021,1.7349176732463],[2022,4.2770507500798],[2023,-11.53287931227]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.7314659977703],[2009,2.2087677990806],[2010,1.8914643372997],[2011,1.6530368731993],[2012,2.5303185532868],[2013,1.7494089834515],[2014,0.5176004784196],[2015,-0.0931845270343],[2016,7.4354704412989],[2017,67333.333333333],[2018,-0.1475248606710],[2019,-4.1333525761293],[2020,-2.776385058912],[2021,-1.7349176732463],[2022,-3.3620597935951],[2023,-63.20196494362]], "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: 'FR0000125585_marges_an', data: FR0000125585_marges_an, height: "350", width: "100%" });