LineChartRenderer.drawHighlighted crash
Open
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
* [ X] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md).
## What did you do?
We've been seeing A LOT of crashes reported in LineChartRenderer.drawHighlighted.
## What did you expect to happen?
No crashes
## What happened instead?
It crashes. We've finally got a stack trace that is the probable cause (invalid index in getting lineData[high.dataSetIndex]). We've been unable to reproduce this "on demand".
## DGCharts Environment
DGCharts 5.0.0
Xcode version: 15.2
Platform(s) running DGCharts: iOS
Contributor guide
Assessment
This issue has not been assessed yet.