ChartsOrg / ChartsOrg/Charts

Enhancement Suggestion: Paged Scrolling/Pan Gesture Controls

Open
#3,524 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

## What did you do?

Attempted to introduce some paged scrolling by adding `moveViewToX` based on `dX` values in `chartTranslated` delegate method. However this leads to some wild page jumps due to no way exposed of modifying the pan gesture logic short of turning it off/on for x and/or y panning.

Would be nice to have a way of either informing the chart View of the desired paging logic or some way other way of hooking into the internals of the current `panGestureRecognized` method in order to have more control over it. My current use case is for a `BarChart` but I could see this being valuable for other chart types.

Actively working on this in my fork so if anyone has any suggestions or has done something similar would love to hear about it!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.