var FR0000120404_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,66.657311254561],[2009,87.523048555624],[2010,50.341858698405],[2011,45.567940552017],[2012,79.6587487454],[2013,80.986937590711],[2014,74.114300491337],[2015,71.13117632305],[2016,49.080168776371],[2017,51.579128046687],[2018,62.517460810182],[2019,52.651189452565],[2020,91.82888728671],[2021,76.702197085055],[2022,60.777126099707],[2023,63.434381472416]], "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: 'FR0000120404_gearing', data: FR0000120404_gearing, height: "300", width: "100%" });