var FR0000031122_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": [[2005,152.74086378738],[2006,116.99987266013],[2007,102.82929148835],[2008,75.287356321839],[2009,167.35377026075],[2010,206.03543743079],[2011,184.93600262553],[2012,226.02409638554],[2013,475.93886462882],[2014,-1602.5316455696],[2015,3326.0073260073],[2016,652.5462962963],[2017,505.61983471074],[2018,595.12064343164],[2019,488.77772944759],[2020,-348.45823210615],[2021,-426.10062893082],[2022,-592.98387096774],[2023,2729]], "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: 'FR0000031122_gearing', data: FR0000031122_gearing, height: "300", width: "100%" });