var FR0004180537_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,116.41236110912],[2009,94.67694803105],[2010,70.241549760852],[2011,13.010937448369],[2012,50.72609535864],[2013,75.265789805438],[2014,133.81814703498],[2015,137.42663316137],[2016,111.59023072398],[2017,235.08176280149],[2018,213.0160472875],[2019,145.45465950982],[2020,161.16321368687],[2021,191.75041876047]], "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: 'FR0004180537_gearing', data: FR0004180537_gearing, height: "300", width: "100%" });