ChartsOrg / ChartsOrg/Charts

Chart x offset changes when finished zooming in

Open
#1,880 8 comments 0 reactions 0 assignees View on GitHub
help wanted question
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I'm seeing a weird behavior when I zoom in my charts.

After I end zooming (which means releasing both fingers) the xAxis offset changes as it moves like 20 chart points to the right of where the zoom ended.

The chart is inside another scrollview, but has only vertical scroll. Also this only happens when the zoom level is really close.. not sure exactly when.
My code is pretty much the same as the demo.. only a few changes here and there.

Here's a video with the behaviour I'm seeing https://youtu.be/6ZIJmTyuie4
Any idea on why this is happening or how can I fix 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.