AnyChart / AnyChart-Android

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
2.29k stars 367 forks source link

Is there an alternative way to scroll for android? #185

Open Fdde11 opened 4 years ago

Fdde11 commented 4 years ago

Hi! Currently, I'm using "xScroller(true)" to control the movement in my chart but the control is a bit clumsy on android, is there an alternative way to move around the X-axis? perhaps make it work like a horizontal scroller where is possible to use one's finger to scroll around?

If no, is it possible to increase the size of the "thumbs" in the scroller? I tried "xScroller().thumbs().normal().size(20)" but the thums size doesnt change.

Shestac92 commented 4 years ago

@Fdde11 Unfortunately, the current version of the library doesn't support adjusting the thumbs size. We will take into account for future updates. Also, xScroller is the only tool for scrolling basic charts at the moment.

martineboh commented 3 years ago

Any way to programmatically scroll that xScroller to allow 1,000 points shown at a time?

Shestac92 commented 3 years ago

@martineboh Yes, you can use the same approach described in the issue.