var FR0000060873_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,1.281812964284],[2011,-2.0152270383707],[2012,-9.4952147362658],[2013,-4.1558952031082],[2014,-2.9814990207381],[2015,1.2098436980379],[2016,948.71794871795],[2017,-3268.2926829268],[2018,-12.740643601908],[2019,-17.022934157932],[2020,-3.353974083734],[2021,3.3500515946342],[2022,1.0377665411274],[2023,5.3128008690772],[2024,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,-6.2694165677201],[2011,-6.0019744854313],[2012,-13.162073223195],[2013,22.125545550644],[2014,-4.0919006252705],[2015,1.2963086132358],[2016,588.46153846154],[2017,-8210.7317073171],[2018,-15.917769120994],[2019,-39.507637727798],[2020,-22.749182354228],[2021,3.3380528425044],[2022,-0.5210889380263],[2023,4.4957241194672],[2024,null]], "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: 'FR0000060873_marges_an', data: FR0000060873_marges_an, height: "350", width: "100%" });