var FR0010812230_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": [[2009,82.789317507418],[2010,8.5470085470085],[2011,3.2896945283652],[2012,-16.5625],[2013,-5.1920261290686],[2014,-14.634860237085],[2015,-7.2817409219676],[2016,-165.67164179104],[2017,-148.23529411765],[2018,-5.538605961042],[2019,-9.7640891218873],[2020,-6.0518731988473],[2021,-0.7954545454545],[2022,-26.811145510836]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,59.940652818991],[2010,6.1965811965812],[2011,-23.111782477341],[2012,-30.6640625],[2013,-18.493073544318],[2014,-15.117810624909],[2015,-21.903167653876],[2016,-342.08955223881],[2017,-172.35294117647],[2018,-10.736916216851],[2019,-10.157273918742],[2020,-7.2046109510086],[2021,-5.8890374331551],[2022,10.650154798762]], "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: 'FR0010812230_marges_an', data: FR0010812230_marges_an, height: "350", width: "100%" });