var FR0000051393_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,-2267.626648161],[2009,341.0210479176],[2010,411.24807395994],[2011,38.999218648261],[2012,46.725584944049],[2013,51.04375],[2014,null],[2015,null],[2016,null],[2017,6744.1860465116],[2018,null],[2019,null],[2020,75.373756074983],[2021,88.178397975238],[2022,82.795242141037],[2023,79.660335195531]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2008,-2100.5204718945],[2009,929.37751903269],[2010,353.28197226502],[2011,56.185701263185],[2012,53.865717192269],[2013,55.6],[2014,null],[2015,null],[2016,null],[2017,6669.8604651163],[2018,null],[2019,null],[2020,74.88775746355],[2021,86.352007661263],[2022,85.369583687341],[2023,79.119553072626]], "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: 'FR0000051393_marges_an', data: FR0000051393_marges_an, height: "350", width: "100%" });