Page 1 of 1

Scroll a series by dragging it

Posted: Fri Feb 13, 2004 9:48 pm
by 9333098
Axis Arrows and Axis Scroll tools allow a series to be scrolled (Line series, Left axis) on its associated axis without scrolling other series or the whole chart. Is it possible to use the mouse to click anywhere on a Line Series points (or the lines between points) and drag to scroll only that series vertically in a similar fashion ?

Steve

Posted: Tue Feb 17, 2004 9:18 pm
by Marjan
Hi, Steve.

Yes, it can be done - with some coding. You could use chart OnMouseDown, OnMouseMove and OnMouseUp events to:
a) capture current mouse position
b) perform a scroll by setting axis minimum and maximum value (adding offset to both values)