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

0
0

Dear SciChart Team:

I want to extend the chart to fit the size to match DataRange and have two operational scenarios:
1. Call SciChartSurface.ZoomExtents()
2. Double click on the canvas with ZoomExtentsModifier

When I change the Y-axis(X-axis) scale through the YAxisDragModifier(XAxisDragModifier) and append points to the curve, and then execute ZoomExtents(), the chart does not match the DataRange.

How do I zoom extents the chart to match DataRange?

Version
4.2.2.9777
  • You must to post comments
0
0

Hi Johnny,

Thanks for your inquiry.
Please take a look at our “Drag Axis to Scale” example. Both AxisDragModifier and ZoomExtentsModifier are used here:
https://www.scichart.com/example/wpf-chart-example-drag-axis-to-scale/

If you continue experiencing this issue please provide us with a small sample project reproducing this issue for investigation.

Thanks in advance.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.