var FR0000062671_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,6.8849637975259],[2009,2.4688783600945],[2010,6.2093243853322],[2011,5.8566670454843],[2012,0.1035340583913],[2013,7.4917139434171],[2014,5.8606204994089],[2015,2.9744956913805],[2016,4.1116402812703],[2017,-757.89473684211],[2018,0.549992567668],[2019,1.7612082682484],[2020,7.3201115874709],[2021,9.7415146756855],[2022,0.5914957901051],[2023,2.2442847407224]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-4.993127482494],[2009,-0.1857356927747],[2010,1.3107502827954],[2011,2.8087874046035],[2012,0.7007721915188],[2013,3.0687544576887],[2014,1.15000179128],[2015,0.6113632759102],[2016,0.0611766547040],[2017,-2110.1315789474],[2018,-0.6300590532560],[2019,7.6077497533143],[2020,-3.8505629071054],[2021,39.866788604559],[2022,-4.4887032635017],[2023,4.9213183817607]], "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: 'FR0000062671_marges_an', data: FR0000062671_marges_an, height: "350", width: "100%" });