var FR0000121964_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,65.721024362145],[2009,52.633924084559],[2010,52.61833858327],[2011,57.934800181487],[2012,64.646751757094],[2013,58.18768789896],[2014,134.0917903451],[2015,-17.610062893082],[2016,150.14827018122],[2017,11028.761061947],[2018,101.40552627376],[2019,42.220075666103],[2020,-76.393072289157],[2021,28.855325914149],[2022,46.670681348933],[2023,39.580988658991]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,27.93368787946],[2009,18.102448993266],[2010,6.2211208703785],[2011,14.854210452206],[2012,16.790996259529],[2013,5.3113103035516],[2014,76.827445627708],[2015,5.1390268123138],[2016,98.121911037891],[2017,13590.707964602],[2018,66.986104456157],[2019,26.15310311519],[2020,-73.955195783133],[2021,54.123608903021],[2022,35.719201651755],[2023,16.682538308372]], "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: 'FR0000121964_marges_an', data: FR0000121964_marges_an, height: "350", width: "100%" });