amcharts4
amcharts4 copied to clipboard
Auto-scaling is not working when dragging using panX
Bug description
When panning the chart using panX
chart.cursor.behavior = 'panX';
The auto-scale is not working
Expected behavior: max should adapt to the newly appeared bar value
https://user-images.githubusercontent.com/8130692/157226462-5a78859d-ee02-463d-803f-175380e184a3.mov
I also noticed that the event selectionextremeschanged does not emit when it should
What could be a solution?
Reproduction: https://stackblitz.com/edit/angular-ivy-civhf9?file=src%2Fapp%2Fbar-graph%2Fbar-graph.component.ts
Try on mobile this link https://angular-ivy-civhf9.stackblitz.io and then pan left.
Environment (if applicable)
- amCharts version 4
- Angular 13
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.