Hi Alex,
Thanks for the update.
You can achieve this requrimenet by passing start date and end date with DateTimeAxis in the ZoomByRange method of the ChartZoomPanBehavior. Please refer the following code snippet for more details.
Code snippet:
ZoomByRange in DateTimeAxis
double startDate = new DateTime(2017, 10, 5).ToOADate();
double endDate = new DateTime(2017, 10, 7).ToOADate();
zoomPan.ZoomByRange(xAxis,startDate,endDate); // Specify the range to zoom
|
ZoomByRange in NumericalAxis
zoomPan.ZoomByRange(yAxis, 0, 2); // Specify the range to zoom |
We have prepared the sample based on your requirement. Please download the sample from following location.
Please let us know, if you need further assistance on this.
Regards
Parthiban S