var FR0000077570_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,null],[2007,null],[2008,4.2329244282902],[2009,3.1635286246774],[2010,4.9892682926829],[2011,4.8075411111387],[2012,1.9416501517698],[2013,2.6537889512068],[2014,2.0548168958871],[2015,1.6564071693497],[2016,1604.7619047619],[2017,1125],[2018,2.7078206617694],[2019,3.7094594594595],[2020,2.3430321592649],[2021,4.087064045137],[2022,2.4512959386769],[2023,1.2775882966429]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2005,null],[2006,null],[2007,null],[2008,2.8785616927371],[2009,2.6123801331677],[2010,4.1336585365854],[2011,3.0786801400303],[2012,0.0301031031282],[2013,1.0733420538642],[2014,-10.203303823244],[2015,0.0970930345457],[2016,-230.95238095238],[2017,-593.75],[2018,0.9898182283900],[2019,1.9873310810811],[2020,-0.1261147644356],[2021,2.3624884332239],[2022,0.6562932380339],[2023,0.1183865603067]], "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: 'FR0000077570_marges_an', data: FR0000077570_marges_an, height: "350", width: "100%" });