var FR0000050353_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,11.117625738226],[2009,3.1959325018595],[2010,6.2308079553077],[2011,9.1186310595128],[2012,8.4338797844528],[2013,10.02061844903],[2014,9.8645266469197],[2015,9.6466381171591],[2016,15242.718446602],[2017,13255.813953488],[2018,7.6159735456007],[2019,6.3761941848841],[2020,-2.2853625896169],[2021,4.7995655972994],[2022,5.5727147961145],[2023,5.297391385414]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,6.6601994186584],[2009,1.3555449731035],[2010,4.2390197363423],[2011,6.2939481891049],[2012,5.2977737827383],[2013,6.4961604775055],[2014,6.2291719286966],[2015,5.6077561019772],[2016,10389.126213592],[2017,8369.3798449612],[2018,5.5965764895036],[2019,4.034224386205],[2020,-3.0343312535875],[2021,3.7845273250124],[2022,3.9965984007993],[2023,2.3020109859646]], "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: 'FR0000050353_marges_an', data: FR0000050353_marges_an, height: "350", width: "100%" });