Reputation: 644
I want to have a calculation on my setExtremes event in highstock. I've written a function and it's behavior is ok on rangeSelectorButton.
but the navigator; when I change the handlers the function is called for times and times like this example.
xAxis: {
events: {
setExtremes: function(e) {
alert(Highcharts.dateFormat(null, e.max));
}
}
},
What should I do?
Is there any way to set sth and prevent this behavior?
Thanks a lot
Upvotes: 1
Views: 1550
Reputation: 45079
Set scrollbar.liveRedraw: false
, see: http://jsfiddle.net/zsS4g/1/
Upvotes: 1