var FR0000131757_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,28.601012425219],[2009,-9.9293417627371],[2010,20.134228187919],[2011,13.627532611712],[2012,2.0307513780099],[2013,-17.330803289058],[2014,-0.4878048780488],[2015,-24.676616915423],[2016,-1.6223679668623],[2017,84444.444444444],[2018,10.604026845638],[2019,5.9111958594388],[2020,0.8595988538682],[2021,23.96401308615],[2022,20.442760271241],[2023,-5.9366348815749]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,15.96870685688],[2009,-9.8549646708814],[2010,9.17225950783],[2011,2.9975020815987],[2012,0.9863649550334],[2013,-11.701454775459],[2014,-5.1707317073171],[2015,-23.681592039801],[2016,-6.1788056610287],[2017,28194.444444444],[2018,1.3959731543624],[2019,-5.0122582402615],[2020,-24.176217765043],[2021,8.1243184296619],[2022,14.758675708018],[2023,3.3528145186097]], "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: 'FR0000131757_marges_an', data: FR0000131757_marges_an, height: "350", width: "100%" });