var FR0000060121_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,-0.9561683725580],[2009,3.4834038433205],[2010,3.2404739032981],[2011,3.5605289928789],[2012,-2.4918586916196],[2013,2.3664801156369],[2014,163.95348837209],[2015,-58.666666666667],[2016,162.63736263736],[2017,-6.8965517241379],[2018,0.7766466662172],[2019,5.9759343530364],[2020,1.670064293555],[2021,2.5843571188152],[2022,0.5971006171953],[2023,4.2426600942621]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,12.803963752526],[2009,3.3844793837217],[2010,3.0248692496531],[2011,3.4046882102119],[2012,-0.0247330887506],[2013,2.7259923649976],[2014,201.74418604651],[2015,1417.8666666667],[2016,158.79120879121],[2017,343.62068965517],[2018,1.3240746983078],[2019,4.743213904596],[2020,1.3922802930173],[2021,2.0026926960619],[2022,0.5712645327975],[2023,3.612228131621]], "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: 'FR0000060121_marges_an', data: FR0000060121_marges_an, height: "350", width: "100%" });