var FR0000066540_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": [[2010,null],[2011,3.1607906927402],[2012,-1.9017179848228],[2013,3.3370971305138],[2014,0.7919518736938],[2015,-1.1714058515451],[2016,1.182593234857],[2017,4333.3333333333],[2018,0.7222424222391],[2019,2.2922359749236],[2020,3.2824455451811],[2021,4.383016793044],[2022,4.6978393041583],[2023,3.0636668262326]], "background-color": "rgb(0, 72, 145)", },{ "legend-text": "Marge nette", "values": [[2010,null],[2011,1.7894550726688],[2012,-2.3247247990464],[2013,1.8730516212965],[2014,0.2042491263992],[2015,-2.570585063113],[2016,0.3519736277321],[2017,414.28571428571],[2018,0.2231183684263],[2019,1.1991641215239],[2020,1.7568112244048],[2021,2.68559494734],[2022,2.7587241893765],[2023,1.1129727142173]], "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: 'FR0000066540_marges_an', data: FR0000066540_marges_an, height: "350", width: "100%" });