var FR0011584549_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": [[2010,null],[2011,null],[2012,3.8806873591822],[2013,-22.021511307226],[2014,-6.2740055985938],[2015,1.4437229117051],[2016,1.4437229117051],[2017,4.0816326530612],[2018,1.2899543378995],[2019,-91.202653168092],[2020,-118.1141439206],[2021,-30.829268292683],[2022,-1.4971675209064],[2023,2.7744270205066]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,1.6948582573898],[2013,-19.960995981404],[2014,-3.7432458824295],[2015,0.7470082688638],[2016,0.7470082688638],[2017,2.9173207744636],[2018,-3.1050228310502],[2019,-113.14365508815],[2020,-139.97518610422],[2021,-46.048780487805],[2022,-18.707850013488],[2023,-39.828928610593]], "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: 'FR0011584549_marges_an', data: FR0011584549_marges_an, height: "350", width: "100%" });