clickReset in zoom proxy...

33 views
Skip to first unread message

emurray100

unread,
Nov 14, 2009, 10:49:42 AM11/14/09
to jqplot-users
Seems the clickReset doesn't seem to work for my zoom proxy,
dblClickReset works fine.

Also, it would be nice if in zoom constraints 'xy' was synonymous with
'none'?

As always excellent stuff - thanks Chris!

Chris Leonello

unread,
Nov 14, 2009, 9:54:01 PM11/14/09
to jqplot...@googlegroups.com
I'll check out the clickReset.

constrainZoomTo 'xy' would fix the zoom area to a single point. Think
of contrainZoomTo x as "exclude zoom along y axis" and contrainZoomTo
y as "exclude zoom along x axis". You wouldn't want to exlcude both x
and y.

Maybe I picked the wrong name for the property. Maybe it should have
been "zoomAxis" and then 'xy' would make sense and be more obvious and
'none' would obviously mean "no zooming".

--
Chris Leonello

emurray100

unread,
Nov 15, 2009, 10:33:41 AM11/15/09
to jqplot-users
Actually you're completely right and I think you've named things
appropriately. I was just looking for a coding shortcut, a small one
at that. I'm a fan of clarity over brevity. Incidentally, I really
like your coding style.
-Ed

Chris Leonello

unread,
Nov 16, 2009, 7:48:06 AM11/16/09
to jqplot...@googlegroups.com
Thanks!
--
Chris Leonello
Reply all
Reply to author
Forward
0 new messages