javascript - Highcharts, how to set waterfall null point at a specific pixel in the graph -
hello using version 4.2.6 since waterfall diagram in current version bugged when inverted. this have in highcharts
now want achieve similar picture.
now know there possibility of rangedcolumns yet quite more complicated implementation in case (or assume is). there way move starting point of chart?
btw here chart options:
var chart = new highcharts.chart({ chart: { renderto: 'container', inverted: true }, xaxis: { categories: headers }, plotoptions: { bar: { grouppadding: 0.2, pointpadding: -0.4 }, column: { grouppadding: 0.2, pointpadding: -0.4 }, waterfall: { grouppadding: 0.2, pointpadding:-0 } }, legend: { layout: 'vertical', floating: true, backgroundcolor: '#ffffff', align: 'right', verticalalign: 'top', y: 0, x: -60 }, tooltip: { formatter: function () { return '<b>' + this.series.name + '</b><br/>' + this.x + ': ' + this.y; } }, series: series }); the charts structured this:
{ 'type' : 'bar', 'name' : labels[i], 'data' : data[i] }{ 'type': 'waterfall', 'upcolor': highcharts.getoptions().colors[2], 'color': 'red', 'data': difference, 'showinlegend': false } is there possibility reposition chart?
thank in advance
Comments
Post a Comment