var FR0000120321_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": [[2008,40.392256319215],[2009,23.02544491837],[2010,10.702993609149],[2011,6.5090434881216],[2012,1.1845624761177],[2013,1.7338845019167],[2014,12.820538221877],[2015,3.3103273066012],[2016,5.1607900750898],[2017,4.7319539859379],[2018,4.6087414976089],[2019,9.8096921090192],[2020,8.7813978509456],[2021,26.704983766096],[2022,20.785684071138],[2023,29.889001980634]], "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: 'FR0000120321_gearing', data: FR0000120321_gearing, height: "300", width: "100%" });