ChartsOrg / ChartsOrg/Charts

CombinedChartView y-axis grid lines are blinking after migration to Charts 3.0

Open
#2,654 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Hi folks,

After migration to Charts 3.0, CombinedChartView y-axis grid lines are blinking/flickering in my chart.

Here is the video of the blinking:
https://www.4shared.com/s/fH2l3Abthca

I noticed it has to do with the function setVisibleXRangeWithMinXRange.

Why is this happening and how can I fix it?

Thanks :)

Contributor guide

Open the contributing guide

Research direction

Start with CombinedChartView and the setVisibleXRangeWithMinXRange call mentioned in the report, then reproduce the y-axis grid-line flicker after migrating to Charts 3.0 using the linked video as a reference. Trace the visible-range update and rendering behavior; done means the grid lines remain stable during chart updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.