var FR0011005933_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,-35.257731958763],[2009,-36.429608127721],[2010,-8.5402184707051],[2011,-41.294005708849],[2012,-49.836921069798],[2013,-81.778265642151],[2014,-16.916277927817],[2015,-39.869281045752],[2016,129.03225806452],[2017,92.929292929293],[2018,1.1918874755695],[2019,2.8362573099415],[2020,29.717664641476],[2021,36.769376759652],[2022,19.77902913214],[2023,-40.215053763441]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-33.40206185567],[2009,-32.656023222061],[2010,-2.8798411122145],[2011,-31.018078020932],[2012,-47.097195042401],[2013,-96.48737650933],[2014,-37.539896881905],[2015,-23.790849673203],[2016,-19.354838709677],[2017,31.818181818182],[2018,1.7397712345007],[2019,3.2748538011696],[2020,20.383378277397],[2021,27.188242582993],[2022,7.9644127027728],[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: 'FR0011005933_marges_an', data: FR0011005933_marges_an, height: "350", width: "100%" });