var FR0000064446_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,5.3111914391038],[2006,11.786276666882],[2007,11.85708875142],[2008,9.2919244824993],[2009,7.8508538304872],[2010,7.8430475027973],[2011,7.0166431192076],[2012,6.5894580078899],[2013,6.4358253623412],[2014,5.9063014834252],[2015,4.0084713980013],[2016,4.0204206755333],[2017,2537.037037037],[2018,4.2973385319546],[2019,3.7553862075454],[2020,4.9995503298233],[2021,4.080991821023],[2022,3.6155267795195],[2023,2.7264672428435]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,4.5309759851115],[2006,6.4636855842447],[2007,5.9883011404284],[2008,5.263400926158],[2009,4.2625724580918],[2010,4.7818126335063],[2011,3.4781533295607],[2012,3.1198212899444],[2013,2.0863578486387],[2014,2.7810270515212],[2015,1.8913572620912],[2016,0.9116373005919],[2017,799.07407407407],[2018,2.1801197348346],[2019,2.0186282811177],[2020,-1.0252480028779],[2021,1.8851544548457],[2022,2.7147918240036],[2023,0.9777020170278]], "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: 'FR0000064446_marges_an', data: FR0000064446_marges_an, height: "350", width: "100%" });