XY Overview zoom support

27 views
Skip to first unread message

Algirdas Jokubauskas

unread,
Mar 27, 2014, 3:52:09 AM3/27/14
to gf...@googlegroups.com
Hello,

So I've been trying to achieve XY zooming using the PlotWithOverview like it is done here - http://www.flotcharts.org/flot/examples/zooming/index.html
And it seems that only X axis is supported for this since there are only methods for that in the PlotWithOverviewModel class. Am I correct in this assumption or I just can't see it how it's done.
I'm sure I can add the functionality myself but I wanted to be sure before doing so.

Nicolas Morel

unread,
Mar 27, 2014, 4:19:12 AM3/27/14
to gf...@googlegroups.com
Hi, 

You may need to create your own model for that. 
One more thing is to override the default overview plot options that set the selection option to x axis only.

Or you can create an issue and I'll look into it. But it might take a while before I find time to do it.

Algirdas Jokubauskas

unread,
Mar 27, 2014, 4:32:39 AM3/27/14
to gf...@googlegroups.com
Thanks for the quick reply. The XY mode can be selected in the plot options and the selection rectangle works, but the zoom on the actual plot only reacts to the change on the X axis. 

But I guess I'll create my own model though.
Reply all
Reply to author
Forward
0 new messages