var FR0000120628_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,261.61369193154],[2009,1578.3505154639],[2010,5.2103809791257],[2011,6.0009886307464],[2012,6.9356440325326],[2013,5.3936828290427],[2014,8.9035163693054],[2015,6.8736750860389],[2016,9.7102526002972],[2017,1289166.6666667],[2018,1.8741758298809],[2019,5.8486560108961],[2020,5.6825423800824],[2021,9.8048106849146],[2022,9.1784857487352],[2023,11.395863467221]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,225.67237163814],[2009,929.38144329897],[2010,3.2165590190022],[2011,5.3435491843796],[2012,4.9082655570267],[2013,3.5867190563456],[2014,5.8017206536174],[2015,4.8207557695444],[2016,6.1865845892592],[2017,1034833.3333333],[2018,2.2220145573103],[2019,3.8627168208949],[2020,3.3606661851553],[2021,7.5169528206608],[2022,6.2909420875337],[2023,8.8874877919124]], "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: 'FR0000120628_marges_an', data: FR0000120628_marges_an, height: "350", width: "100%" });