var FR0004155240_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,-34.819277108434],[2009,-31.096574281288],[2010,-8.0445394273502],[2011,-14.1447271223],[2012,-6.9535047462314],[2013,-4.5623803723682],[2014,4.2518850425189],[2015,-0.0699184285001],[2016,-318.8679245283],[2017,-538.02816901408],[2018,0.5208333333333],[2019,-4.8359240069085],[2020,-9.5630145661811],[2021,null],[2022,null]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-28.477108433735],[2009,-32.466861766225],[2010,-8.259465235447],[2011,-27.859527819638],[2012,-8.2454637225045],[2013,-7.0384548460066],[2014,18.361398183614],[2015,-2.8833028133844],[2016,-464.81132075472],[2017,-644.64788732394],[2018,3.0729166666667],[2019,1.2953367875648],[2020,-11.779607346422],[2021,null],[2022,null]], "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: 'FR0004155240_marges_an', data: FR0004155240_marges_an, height: "350", width: "100%" });