var FR0012613610_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,null],[2013,null],[2014,-5.8322690506599],[2015,-28.561801538721],[2016,-35.172550575169],[2017,-79.136690647482],[2018,-8.2371294851794],[2019,-5.3027327310476],[2020,-25.79624514911],[2021,2.4106447731616],[2022,6.0994508014827],[2023,-16.887279554751]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,null],[2012,null],[2013,null],[2014,-11.536824180502],[2015,-33.812545628124],[2016,-32.808409361365],[2017,-109.52517985612],[2018,-8.9564003612776],[2019,-5.8891195780259],[2020,-24.378561689333],[2021,0.8861207445679],[2022,1.847191401262],[2023,-18.787634949373]], "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: 'FR0012613610_marges_an', data: FR0012613610_marges_an, height: "350", width: "100%" });