lazzhadji / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Flot with panning and zooming on the placeholder plus overview doesn't work together #697

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I setup a placeholder for flot with panning and zooming enabled.  I also had 
another div as overview of the placeholder. Initially, when I do panning and 
zooming on the placeholder, it works but when I do a selection on the overview 
and go back to the placeholder, I can no longer do panning and zooming on it.

I'm using flot v0.7-46-gdb82b70 and jquery 1.7.1

Original issue reported on code.google.com by fredsn...@gmail.com on 22 May 2012 at 6:39

GoogleCodeExporter commented 8 years ago
If you're using the 'zooming with overview' example as a base, one thing to be 
aware of is that it re-creates the plot entirely as it updates the bounds.  My 
guess is that your options are set up in such a way that the re-created plot no 
longer has the zoom & pan enabled.

I'd have to see your source, but so far this seems like a question for the 
forum (https://groups.google.com/forum/?fromgroups#!forum/flot-graphs); I don't 
immediately see evidence of a bug.  I'm marking this as 'needs info' until 
there's more to work with.

Original comment by dnsch...@gmail.com on 23 May 2012 at 2:16

GoogleCodeExporter commented 8 years ago
Yes, you are indeed right. The zoom and pan options were not included in the 
re-created overview plot.  Anyway, thanks for answering.

You can mark this as a non-issue now.

Original comment by fredsn...@gmail.com on 23 May 2012 at 1:29

GoogleCodeExporter commented 8 years ago

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 2:36