var FR0000062341_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,null],[2009,null],[2010,null],[2011,4.9738979118329],[2012,4.0798484627714],[2013,4.4003055767762],[2014,3.4068786502271],[2015,3.7243299686739],[2016,4.3020852902499],[2017,1.6530532866589],[2018,2.5862068965517],[2019,6.0869565217391],[2020,15.561797752809],[2021,12.97976273552],[2022,2.5152921324615]], "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: 'FR0000062341_gearing', data: FR0000062341_gearing, height: "300", width: "100%" });