var FR0000052516_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": [[2009,82.329530379411],[2010,58.572522005358],[2011,55.673411177467],[2012,60.601582195949],[2013,74.890095681407],[2014,81.22641509434],[2015,74.928797468354],[2016,74.928797468354],[2017,74.138326327856],[2018,73.779412891853],[2019,87.612357428809],[2020,100.60172385754],[2021,91.354401805869],[2022,88.445463125253]], "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: 'FR0000052516_gearing', data: FR0000052516_gearing, height: "300", width: "100%" });