ChartsOrg / ChartsOrg/Charts

Get unexpected value form stringForValue

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

Description

It work fine when linechartview first time appear. The issue occur when I change dataset, dataEntry and valueFormatter then update chart, the function "stringForValue" return old value and mess the chart.

before update chart, stringForValue give values like
value=4732.000000
value=4733.000000
value=4735.000000
value=4736.000000
.
.

after update chart, stringForValue give values like
value=4732.000000 <---- unexpected value
value=4733.000000
value=789.000000 <---- correct value
value=789.200000
.
.

Is something I did not call or use?

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.