var FR0010298620_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,-55.887510554004],[2009,-48.460417678485],[2010,0.2376936052753],[2011,-18.487478798763],[2012,-12.409347300564],[2013,-10.214348206474],[2014,2.8132603406326],[2015,6.4168581161372],[2016,0.9433962264151],[2017,-48.091603053435],[2018,3.858024691358],[2019,1.0329446748572],[2020,-2.4098552288463],[2021,-1.974376974377],[2022,2.5278491859469],[2023,17.601080082427]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-52.542703123985],[2009,-49.587178241865],[2010,-2.9750038337678],[2011,-20.393095879477],[2012,-2.7719580983078],[2013,-10.002916302129],[2014,1.3686131386861],[2015,5.2602392458211],[2016,10.188679245283],[2017,-62.900763358779],[2018,2.0061728395062],[2019,-0.2504108302684],[2020,-4.9006384317957],[2021,-2.8782028782029],[2022,11.225364181662],[2023,15.206423648121]], "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: 'FR0010298620_marges_an', data: FR0010298620_marges_an, height: "350", width: "100%" });