var CH0308403085_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": [[2012,-6122.2222222222],[2013,17.977113325951],[2014,2.7083333333333],[2015,10.38961038961],[2016,0.9856438825798],[2017,1.6466263307038],[2018,3.960396039604],[2019,-163.35189095796],[2020,28.395285584769],[2021,80.495356037152],[2022,486.27049180328],[2023,-97.016983597039]], "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: 'CH0308403085_gearing', data: CH0308403085_gearing, height: "300", width: "100%" });