So with moving x-axis with scrollbar, I want waterfall chart to take last hidden column height and plot visible first column from that height not from 0.
Code: Select all
{
chart: {
zoomType: 'xy'
},
series: [{
type: 'waterfall',
data: [{x:1647958545 , y:130}, {x:1647958563 , y:330}, {x:1647958585 , y:-40}],
colorByPoint: true
}],
xAxis: {
type: "datetime",
max: maxDate, //these are updating on scroll axis
min: minDate,//these are updating on scroll axis
scrollbar: {
enabled: true
},
labels: {
formatter() {
return Highcharts.dateFormat(xLabelFormat, this.value);
}
}
}
};