highlight.dataIndex and highlight.dataSetIndex value not correct in delegate function "chartValueSelected"
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, first of all thanks for this awesome library. I am using LineChartView with multiple lines. what I have found in delegate function "chartValueSelected", highlight.dataIndex and highlight.dataSetIndex values are not correct on tapping at any point. I have downloaded your demo and have applied this delegate function there but values are not correct there too. Can you please look into it and tell me what am I doing wrong?
Thanks again!
Contributor guide
Research direction
Start by reproducing the report in the downloaded demo using LineChartView with multiple lines and the chartValueSelected delegate. Compare the tapped point with highlight.dataIndex and highlight.dataSetIndex, then trace the selection handling until the reported indices are correct and verify the delegate output across the demo cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- data-visualization, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100