var FR0000035370_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": [[2003,null],[2004,null],[2005,8.114991563465],[2006,8.6858112887254],[2007,9.2569636867435],[2008,10.391075589671],[2009,4.6966206233922],[2010,6.1549543781015],[2011,6.0056262656807],[2012,6.3713383328094],[2013,6.9282394778185],[2014,7.4763242914814],[2015,7.1081574146469],[2016,7.1081574146469],[2017,5.2432499346657],[2018,1864],[2019,5.6518631042802],[2020,7.628309982075],[2021,6.3737268422084],[2022,6.9493914157591],[2023,7.2244094488189]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2003,null],[2004,null],[2005,4.9329852599408],[2006,5.4533880322535],[2007,5.7653978902338],[2008,6.2093398424732],[2009,2.3183494674202],[2010,2.8563710581079],[2011,2.930423069522],[2012,3.0932387324682],[2013,3.3622338642354],[2014,3.9727283880655],[2015,3.7445921292677],[2016,3.7445921292677],[2017,2.4872884658588],[2018,572.64],[2019,1.3606171626009],[2020,3.0310473313719],[2021,3.0292316803769],[2022,2.9214178945121],[2023,2.3622047244094]], "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: 'FR0000035370_marges_an', data: FR0000035370_marges_an, height: "350", width: "100%" });