var FR0012789949_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": [[2010,null],[2011,null],[2012,583.83941314235],[2013,681.6322317604],[2014,1372.6335093433],[2015,367.19906962849],[2016,344.97058292384],[2017,420.0983299423],[2018,421.09663578939],[2019,631.55845566426],[2020,2267.5335186869],[2021,241.89433246331]], "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: 'FR0012789949_gearing', data: FR0012789949_gearing, height: "300", width: "100%" });