03-10-2015 11:18 AM
Is it possible to limit zoom factor at WPF Scatter Graph? When I scale it too much, it simply stucks. So I'd like to limit it to say x200.
03-11-2015 10:01 AM
There is no property to limit the zoom on an axis. To achieve this, you will need to use the RangeChanged event, check whether then delta for the new range is acceptable, or revert to the previous range if it is too small.
03-11-2015 04:05 PM
Hi eugenem,
Take a look at the zoom discussion on this forum post.
Best,
03-12-2015 04:04 AM
I use this event already. But how do I get previous range?
void AxisY_RangeChanged(object sender, EventArgs e)
03-12-2015 10:42 AM
I'm afraid the previous range is not available through the event. You will need to use a separate variable to track the range (i.e. in the change event, if the new range is valid, update the variable; if the new range is not valid, update the axis to use the value saved in the variable).
I have created a task to provide the previous range value in the event.
08-11-2015 01:17 PM
Just wanted to let you know that we have updated the RangeChanged event to report the previous range in the Measurement Studio 2015 release.