Reputation: 2388
How can I set Flot panRange so that I can only pan in x-axis and not y-axis? I tried setting panRange in the y-axis to the following but neither worked:
panRange: null panRange: none
I am using mouse's scroll wheel to zoom in and out.
Thanks
Upvotes: 0
Views: 389
Reputation: 38219
Set the panRange to 'false' on the axis that you want to remain fixed.
Upvotes: 1