Closed GoogleCodeExporter closed 8 years ago
Hi!
My thoughts are:
- Elaborate patch - why do you need the dryrun stuff?
- I don't understand the rationale fully - could you maybe provide a screenshot
of your use case?
- While it's conceivable that some people might need to zoom differently on x
and y, I'd rather not spend complexity on it before I've actually seen it
happen; maybe a simple "don't zoom this axis" fits the requirements better
- This code has changed a bit in the development version because of multi-axis
support.
So this might not be for the stock Flot. But thanks for posting the code.
Original comment by olau%iol...@gtempaccount.com
on 13 Dec 2010 at 4:51
Here is an example of the types of charts I needed this for: A graph of heart
rate over time. You always want the same zoom on the y-axis, but you do want to
zoom in and out on the x-axis. I was working on a project graphing a large
number of similar items that all shared the one zoom at a time requirement.
Unfortunately I cannot produce a screenshot for you, as I did this work on a
contract under and NDA and cannot release information specific to the project.
I believe that a "don't zoom on this axis" fits the requirements just as well,
but I figured I would leave the option open for other possible use cases, such
as applying transformation matrices.
Original comment by brooksw...@gmail.com
on 17 Feb 2011 at 6:55
I have the same requirement for the types of plots I need to create. I have
much need for a timeseries graph that only zooms in x. In our case, it is a
history plot of device availability over time. Y is a boolean value (up/down,
here/not here, installed/not installed, etc) and thus there is no reason to
zoom Y.
Adding a draggable interface without selection to the same chart would make
flot unique in the realm of plotting tools (with the only exception being
Chronoscope, as best as I can tell.)
I just wanted to chime in to support the notion that it is a useful feature.
Thank you for the hard work on flot thus far.
(I hope this does not exactly qualify as a "me too" post..)
Original comment by TMEmbed...@gmail.com
on 17 Feb 2011 at 8:45
Can't you just use selection in the x or y "mode" and then fix the axis min/max
for the other direction?
Original comment by ryl...@gmail.com
on 18 Feb 2011 at 10:35
Actually, I just landed support in the development release for restricting
zooming/panning to one axis (there were a couple of tickets on that). So I
think I'll just close this. Sorry if I sounded rude, I do appreciate the work
and thought you put into it. Thanks for that!
Original comment by olau%iol...@gtempaccount.com
on 10 Mar 2011 at 4:26
Original issue reported on code.google.com by
brooksw...@gmail.com
on 26 May 2010 at 7:23