var FR0004036036_gearing = { "type": "bar", "plot":{ "bar-width":"50%", "tooltip" : { "text": "%v%", "decimals": 0, }, }, "title":{ "text": "Passif du bilan", "font-size": "15px" }, noData: { text: 'Aucune Donnée', backgroundColor: '#f2f2f2' }, "series": [{ "legend-text": "Gearing", "values": [[2010,null],[2011,null],[2012,6.6512286118616],[2013,6.6512286118616],[2014,5.4414527238572],[2015,4.795932389721],[2016,115.15650741351],[2017,91.057535299203],[2018,66.287907869482],[2019,59.087593660898],[2020,74.427006887208],[2021,41.944093953218],[2022,25.675149817106],[2023,19.862899180739]], "background-color": "rgb(208, 0, 0)" }], "plotarea" : { "margin-right":"5", "margin-left":"180", "margin-bottom":"50", "margin-top":"40", "background-color-1": "white", "background-color-2": "rgb(210,210,210)", }, "legend": { "layout":"1x1", "x" : "0", "y": "35", "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: 'FR0004036036_gearing', data: FR0004036036_gearing, height: "300", width: "100%" });