var FR0000120693_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": [[2009,24.392614188533],[2010,24.106764581274],[2011,24.231322779013],[2012,24.548104956268],[2013,22.869729389553],[2014,18.579107268053],[2015,24.130384703985],[2016,24.130384703985],[2017,24.772475027747],[2018,57372.262773723],[2019,25.86582443912],[2020,11.576704545455],[2021,26.756572982774],[2022,27.689001027941],[2023,26.901211172448]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2009,13.119533527697],[2010,13.430306453891],[2011,13.672641632867],[2012,13.865889212828],[2013,12.787916928886],[2014,10.060761860248],[2015,14.224832987791],[2016,14.224832987791],[2017,15.460599334073],[2018,38369.829683698],[2019,15.846220866914],[2020,3.8944128787879],[2021,14.789211242067],[2022,18.652462386693],[2023,18.637225014419]], "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: 'FR0000120693_marges_an', data: FR0000120693_marges_an, height: "350", width: "100%" });