var FR0000062465_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,-1.9073196812016],[2011,-0.3636222756002],[2012,-0.5397503058938],[2013,-2.563987895592],[2014,-1.8503529107039],[2015,0.3322093583376],[2016,-7.6364449926834],[2017,null],[2018,null],[2019,null],[2020,5.4172245804963],[2021,6.6406956757735],[2022,6.0950699942932],[2023,5.7622770116137]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,-3.6660574185286],[2011,0.8412570150873],[2012,-6.4457521809832],[2013,-2.6906965997347],[2014,-1.5147100088497],[2015,0.2281170927252],[2016,-5.1191815114465],[2017,null],[2018,null],[2019,null],[2020,1.2870003703598],[2021,3.6378234123394],[2022,2.9401033464413],[2023,1.5650899065104]], "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: 'FR0000062465_marges_an', data: FR0000062465_marges_an, height: "350", width: "100%" });