Profile Picture

Wrong zooming with Scrollbar enabled for small Y-data values when zoomed area is close to zero

Posted By joern kunze 12 Years Ago

Wrong zooming with Scrollbar enabled for small Y-data values when...

Author
Message
joern kunze
Posted 12 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 86, Visits: 221
Hi Experts,
I have a problem when using the zoom functionality in a scatter plot with Y-data ranging from -1 ... 1 (equal step size 0.01). As long as the scrollbar is disabled, everything is working well. But when I enable the scrollbar:
//Add Scrollbar for Zoomed Area
_oChart.Axis(StandardAxis.PrimaryX).PagingView = new NDateTimeAxisPagingView();
_oChart.Axis(StandardAxis.PrimaryX).ScrollBar.Visible = true;
_oChart.Axis(StandardAxis.PrimaryY).PagingView = new NDateTimeAxisPagingView();
_oChart.Axis(StandardAxis.PrimaryY).ScrollBar.Visible = true;
then the displayed zoomed Y-area after the zoom has finished is not the range which was selected with the zoom rubber box.
This effect happens mainly for zooming around Y-axis values of 0.

When I change the Y-data to range from -100...100 (with equal step size 1) everything is working.

Is there a workaround to use zoom a n d scrollbar together with smaller Y-data close to zero?

Thanks for your help,
best regards,
Joern




Similar Topics


Reading This Topic