var FR0000033888_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,24.970646109496],[2009,22.002093301435],[2010,14.910595308191],[2011,14.080006816342],[2012,14.297472164854],[2013,24.052344536426],[2014,23.232277775278],[2015,21.892791286537],[2016,20.094930357645],[2017,6.5478396393561],[2018,5.44639743503],[2019,6.2155853933994],[2020,4.2689548088535],[2021,2.2868992790143],[2022,3.0712744402082]], "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: 'FR0000033888_gearing', data: FR0000033888_gearing, height: "300", width: "100%" });