var FR0000053027_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": [[2007,null],[2008,0.0559691717039],[2009,6.0871579864116],[2010,7.5115598064676],[2011,6.0817986181476],[2012,6.023227694099],[2013,8.1344145875923],[2014,7.4502256264874],[2015,9.2144414637662],[2016,11.97484114869],[2017,13068.181818182],[2018,6.8831731267123],[2019,8.0759234336092],[2020,11.414587196883],[2021,7.6275485868406],[2022,3.6663617850231],[2023,4.6189278985871]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2007,null],[2008,-2.2404340349724],[2009,4.1538495893883],[2010,5.3708639280442],[2011,4.5298836344703],[2012,4.236068608279],[2013,5.5688712061067],[2014,4.8571465726881],[2015,5.9198750284766],[2016,8.9668620030157],[2017,9641.7045454545],[2018,5.752939736577],[2019,5.6932585759407],[2020,9.1275083281938],[2021,5.5449921515233],[2022,2.5519098897878],[2023,3.3498597582647]], "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: 'FR0000053027_marges_an', data: FR0000053027_marges_an, height: "350", width: "100%" });