amcharts4 icon indicating copy to clipboard operation
amcharts4 copied to clipboard

Auto-scaling is not working when dragging using panX

Open MurhafSousli opened this issue 3 years ago • 1 comments

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

MurhafSousli avatar Mar 08 '22 11:03 MurhafSousli

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.

github-actions[bot] avatar Aug 09 '22 00:08 github-actions[bot]