var FR0000121121_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,12.219089482876],[2009,4.3654167126772],[2010,15.381376056416],[2011,9.5525098149187],[2012,6.1005908450556],[2013,25.86198269144],[2014,6.943422462331],[2015,89.566832051013],[2016,33.860074334306],[2017,24934.210526316],[2018,7.3052973799962],[2019,7.8490075053999],[2020,1.4134822018391],[2021,49.486544851127],[2022,20.833128572007],[2023,556.1178353215]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-1.5051209188053],[2009,-5.2658316263209],[2010,2.9329438657582],[2011,-2.2790241166573],[2012,-4.1746672554091],[2013,11.503896476765],[2014,-2.0281975882742],[2015,64.281766967764],[2016,23.831132924155],[2017,28987.434210526],[2018,4.8010709504685],[2019,2.6267404174224],[2020,-4.3667469692557],[2021,34.932754857521],[2022,12.817024417034],[2023,530.78760546989]], "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: 'FR0000121121_marges_an', data: FR0000121121_marges_an, height: "350", width: "100%" });