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!
What did you do?
Attempted to introduce some paged scrolling by adding
moveViewToX
based ondX
values inchartTranslated
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 aBarChart
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!