var FR0010501692_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": [[2007,null],[2008,40.859989267633],[2009,39.369579550642],[2010,30.800854677738],[2011,25.696742173581],[2012,22.317198764161],[2013,14.532101397773],[2014,14.532101397773],[2015,21.84850590688],[2016,21.84850590688],[2017,33.54488453892],[2018,37.260866085008],[2019,46.492881930213],[2020,62.184978894523],[2021,56.659369135913],[2022,48.074234142621]], "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: 'FR0010501692_gearing', data: FR0010501692_gearing, height: "300", width: "100%" });