var FR0010313486_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,3.953887094908],[2009,3.8724211524781],[2010,11.733838117602],[2011,15.075372185232],[2012,6.895301826293],[2013,6.9201857174442],[2014,5.107422321878],[2015,5.3858591636052],[2016,8.3902960545022],[2017,0.0029387910882],[2018,9.8005322173448],[2019,9.1680805938494],[2020,9.0529942690086],[2021,-30.633205053074],[2022,15.563439752285],[2023,12.664214398318]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,2.3214229365422],[2009,6.2508892577662],[2010,9.8444913020559],[2011,11.455449988778],[2012,3.0677540777917],[2013,4.3776254698209],[2014,3.0035921841395],[2015,3.1210814616011],[2016,5.3671962967597],[2017,0.0022044749773],[2018,5.1766097300248],[2019,5.5816542948038],[2020,4.4223763892434],[2021,-41.357998586299],[2022,8.3401936467302],[2023,null]], "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: 'FR0010313486_marges_an', data: FR0010313486_marges_an, height: "350", width: "100%" });