ChartsOrg/Charts

Chart x offset changes when finished zooming in

开放

#1,880 创建于 2016年11月24日

 (8 条评论) (0 个反应) (0 位负责人)Swift (5,994 个派生)batch import
help wantedquestion

仓库指标

星标
 (28,013 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南