var FR0000051393_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,22.821708219318],[2009,12.061266060796],[2010,6.7646930539128],[2011,3.2614740259415],[2012,5.1700791445848],[2013,3.590522378178],[2014,10.914356024389],[2015,7.4444668966413],[2016,6.2665898349139],[2017,6.7067468269873],[2018,46.924711470355],[2019,22.370843097173],[2020,24.988281317816],[2021,14.255437267324],[2022,14.473394768133],[2023,12.602727397927]], "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: 'FR0000051393_gearing', data: FR0000051393_gearing, height: "300", width: "100%" });