var FR0010844001_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,12.423442153172],[2011,42.958260771867],[2012,46.300175982569],[2013,45.334967320261],[2014,50.651474252492],[2015,51.239669421488],[2016,450.28248587571],[2017,130],[2018,4.6500920810313],[2019,11.235075357213],[2020,5.0632911392405],[2021,111.48166532233],[2022,80.379062519875]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,0.7810305107602],[2011,24.790742093141],[2012,36.575043995642],[2013,21.977124183007],[2014,28.779069767442],[2015,28.955922865014],[2016,451.9209039548],[2017,864],[2018,-3.4990791896869],[2019,7.2616950479546],[2020,30.467044958533],[2021,73.627225910529],[2022,0.0159002734847]], "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: 'FR0010844001_marges_an', data: FR0010844001_marges_an, height: "350", width: "100%" });