var FR0012788065_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": [[2012,-16.205533596838],[2013,-24.013806706114],[2014,-155.42095699576],[2015,-129.9634591961],[2016,-158.13559322034],[2017,-338.04394657475],[2018,-135.4498714653],[2019,10.357481060606],[2020,-18.980605487228],[2021,1.3398533007335],[2022,-6.2724935732648]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2012,0],[2013,19.477317554241],[2014,0.1817080557238],[2015,-34.551360129923],[2016,-150.77966101695],[2017,-323.52434295562],[2018,-136.37532133676],[2019,11.363636363636],[2020,-14.699621570482],[2021,2.8753056234719],[2022,-5.5784061696658]], "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: 'FR0012788065_marges_an', data: FR0012788065_marges_an, height: "350", width: "100%" });