Reputation: 1068
How can I get x y zooming and also panning?
Ideally it would be possible to select a rectangle with the mouse (xy zooming) which I already have and also to pan after zoom has been made, for that maybe something like pressing a key while dragging would work for zooming.
But I don't have idea how to implement this. Haven't found a solution for this.
Upvotes: 0
Views: 707
Reputation: 37578
In the highcharts you can define a panning and panKey to run that behaviour on desktop. See option http://api.highcharts.com/highcharts#chart.panKey
chart: {
panKey: 'shift'
}
Upvotes: 1