var FR0000039216_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,253.33999129344],[2011,184.1237806929],[2012,195.2820148989],[2013,192.32053422371],[2014,167.35123749342],[2015,179.74650118828],[2016,224.3321299639],[2017,234.91937089389],[2018,119.2576781691],[2019,123.21350762527],[2020,144.94011976048],[2021,157.0184378764],[2022,114.12227074236],[2023,132.00346921075]], "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: 'FR0000039216_gearing', data: FR0000039216_gearing, height: "300", width: "100%" });