var FR0000051807_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": [[2007,9.9510603588907],[2008,9.968061859136],[2009,7.0378436655348],[2010,5.7849677892302],[2011,7.1916761278926],[2012,8.2297974558315],[2013,8.0558980682285],[2014,8.5931834662799],[2015,9.0641553855209],[2016,9.2902164976706],[2017,33696.96969697],[2018,10.920963746904],[2019,11.596638655462],[2020,9.6824842986741],[2021,12.213633169361],[2022,12.165808192298],[2023,12.115038945476]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2007,6.1425523905132],[2008,6.5221045553875],[2009,4.7736751577947],[2010,3.4922488660284],[2011,4.3398102361842],[2012,5.4307179136063],[2013,5.3020961775586],[2014,5.4387237128354],[2015,5.8858151854032],[2016,5.8646204439572],[2017,18909.090909091],[2018,7.0254447196577],[2019,7.4696545284781],[2020,5.652477320307],[2021,7.8285312719606],[2022,7.8857002698062],[2023,7.2139005392451]], "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: 'FR0000051807_marges_an', data: FR0000051807_marges_an, height: "350", width: "100%" });