var FR0000053324_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,83.463252611056],[2010,57.489918429704],[2011,52.714225684456],[2012,51.116793996132],[2013,60.085408470634],[2014,59.934974710926],[2015,51.207260301805],[2016,50.2778936185],[2017,51.33714252762],[2018,49.358930610722],[2019,60.648478911881],[2020,106.49170623763],[2021,114.64651376334],[2022,82.973729251532],[2023,95.160299671265]], "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: 'FR0000053324_gearing', data: FR0000053324_gearing, height: "300", width: "100%" });