SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

0
0

Hi All,
i did the Zoom X with this code:
private void ZoomExtentsX_Checked(object sender, RoutedEventArgs e)
{
if (rubberBandZoomModifier != null)
{
var checkBox = (CheckBox)sender;
rubberBandZoomModifier.IsXAxisOnly = checkBox.IsChecked == true;
}
}
also i make the code for Zoomping in Y Axis by this code :
private void ZoomExtentsY_Checked(object sender, RoutedEventArgs e)
{
if (rubberBandZoomModifier != null)
{
var checkBox = (CheckBox)sender;
rubberBandZoomModifier.ZoomExtentsY = checkBox.IsChecked == true;
}
}
the zoomX run good but for the Y Axis it’s not ok because the code zoom x and y in the same time (like picture) !! anybody have idea ? Thank you !

  • You must to post comments
0
0

the picture

Images
  • You must to post comments
0
0

Hi there,

Unfortunately, we don’t provide the IsYAxisOnly zooming behavior out of the box, but it is pretty easy to implement. In this thread you can find the code by our customer who has implemented it.

Hope this helps!

Best regards,
Yuriy

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.