var FR0000120172_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,3.1920153621489],[2009,1.997446080671],[2010,2.0554156171285],[2011,-0.1860292065854],[2012,1.9527865530985],[2013,3.2059650870133],[2014,3.4711256866],[2015,2.9217336666972],[2016,2.5547637205144],[2017,1180000],[2018,1.0071617437982],[2019,1.4793931696696],[2020,2.4097074335044],[2021,2.6410598688082],[2022,3.0579938666302],[2023,2.1257717925033]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,1.4626237538377],[2009,0.3830878993428],[2010,0.4847467114470],[2011,0.4929773974514],[2012,1.6781967715706],[2013,1.6998882892098],[2014,1.6856282980418],[2015,1.4569397719686],[2016,0.9808820048913],[2017,-312352.94117647],[2018,-0.7454059871647],[2019,1.5756932910915],[2020,0.9161461832007],[2021,1.5387044453057],[2022,1.673640167364],[2023,2.0163838786523]], "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: 'FR0000120172_marges_an', data: FR0000120172_marges_an, height: "350", width: "100%" });