var FR0000121691_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,5.6931343072198],[2009,6.2001262308246],[2010,13.203810808339],[2011,16.320291002595],[2012,15.560992061694],[2013,12.843385707045],[2014,3.4782700992957],[2015,7.4330001334893],[2016,86.350148367953],[2017,6.7698432223291],[2018,2182.4324324324],[2019,6.9463130993873],[2020,0.9296140837277],[2021,9.5131317613252],[2022,11.339698616166],[2023,12.4061781976]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-1.3602150379001],[2009,2.0273974226392],[2010,9.229551481346],[2011,11.905601852215],[2012,9.3374509833532],[2013,4.767455892646],[2014,2.475229133829],[2015,5.928235087802],[2016,99.973293768546],[2017,4.9182812853334],[2018,1486.6891891892],[2019,5.3482749206146],[2020,11.932080163969],[2021,7.2887614097363],[2022,8.711193503091],[2023,11.531529231555]], "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: 'FR0000121691_marges_an', data: FR0000121691_marges_an, height: "350", width: "100%" });