var FR0000071946_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": [[2005,null],[2006,12.658370628485],[2007,10.424641591885],[2008,10.275037694202],[2009,3.7704896992919],[2010,9.6355308837552],[2011,8.9458260100088],[2012,9.7144512269941],[2013,9.1074735156078],[2014,8.559198232406],[2015,9.5442551330191],[2016,9.0023714384095],[2017,15338.983050847],[2018,9.4345308242488],[2019,9.0789599045728],[2020,5.1134148825541],[2021,9.8509151573578],[2022,15.671777114007],[2023,7.8622747706509]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,null],[2006,7.9472945324932],[2007,6.1154721631135],[2008,6.4379097324302],[2009,2.0224553919893],[2010,5.8486786548923],[2011,5.5882791774855],[2012,6.5248257734291],[2013,6.0664962982697],[2014,5.7885936587419],[2015,6.8960728298806],[2016,6.4293092856742],[2017,12459.745762712],[2018,6.9549338402606],[2019,6.258560436587],[2020,4.2030082442617],[2021,7.1050670386096],[2022,12.095027887182],[2023,5.7315466954975]], "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: 'FR0000071946_marges_an', data: FR0000071946_marges_an, height: "350", width: "100%" });