Hi,
How can I change the labels on category axis while moving stock chart navigator without refresh/redrawing the chart please?
When the user narrows the date range selection to 1 day, I want to display the times on category axis, else display days.
I'm not able to achieve this without refreshing the chart. Refreshing the chart is a performance barrier.
function onSelectEnd(e) {
var categoryAxis = this.options.categoryAxis[0];
categoryAxis.labels.step = 4;
categoryAxis.majorGridLines.step = 2;
categoryAxis.minorGridLines.step = 2;
categoryAxis.majorTicks.step = 2;
//make this effective on chart right away
}
If I don't refresh the chart, above the changes to categoryaxis are not getting applied right away, rather are getting applied when I use the navigator next time.
Please help. Thanks!
How can I change the labels on category axis while moving stock chart navigator without refresh/redrawing the chart please?
When the user narrows the date range selection to 1 day, I want to display the times on category axis, else display days.
I'm not able to achieve this without refreshing the chart. Refreshing the chart is a performance barrier.
function onSelectEnd(e) {
var categoryAxis = this.options.categoryAxis[0];
categoryAxis.labels.step = 4;
categoryAxis.majorGridLines.step = 2;
categoryAxis.minorGridLines.step = 2;
categoryAxis.majorTicks.step = 2;
//make this effective on chart right away
}
If I don't refresh the chart, above the changes to categoryaxis are not getting applied right away, rather are getting applied when I use the navigator next time.
Please help. Thanks!