amcharts5 icon indicating copy to clipboard operation
amcharts5 copied to clipboard

Programmatically scrollbar scrolling

Open fruitbang opened this issue 1 year ago • 2 comments

Is there way to scroll legend verticalScrollbar by added buttons? I need to make something like this: image

fruitbang avatar Oct 23 '24 16:10 fruitbang

You can set start and end settings of a Slider or a Scrollbar. E.g.:

legend.get("verticalScrollbar").setAll({
  start: 0.5,
  end: 0.5
});

This will position the scrollbar at the middle.

martynasma avatar Oct 24 '24 04:10 martynasma

wow, cool. tnx

fruitbang avatar Oct 24 '24 10:10 fruitbang

This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added.

github-actions[bot] avatar Nov 24 '24 00:11 github-actions[bot]