Hi Mojado,
Thanks for using Syncfusion product. We have analyzed your requirement and we like to inform you that, you can achieve this requirement using to set the `zoomPosition` and `zoomFactor` value to that axis.
Find the below code snippet to achieve your requirement,
|
Angular:
addSeries() {
this.resetZoom();
//….
}
removeSeries() {
this.resetZoom();
//….
}
resetZoom() {
this.chart.primaryXAxis.zoomPosition = 0;
this.chart.primaryXAxis.zoomFactor = 1;
this.chart.primaryYAxis.zoomPosition = 0;
this.chart.primaryYAxis.zoomFactor = 1;
//….
} |
We have prepared a sample based on this. Please find the sample from the below location,
To run the sample please follow the below steps,
- npm install
- npm start
Please let us know if you have any concern.
Akbar Basha KM.