YAxisRenderer Range crash
- 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?
```swift
chartView.rightAxis.drawTopYLabelEntryEnabled = false
chartView.data = CombinedChartData()
```
This codes make crash.
## What did you expect to happen?
No crash.
## What happened instead?
No crash.
## Charts Environment
**Charts version/Branch/Commit Number: 4.1.0
**Xcode version: Xcode 14.0.0
**Swift version: 5.7
**Platform(s) running Charts: iPhone 14 Pro simulator
**macOS version running Xcode:12.6
## Crash Screenshot

## Demo Project
[FixCrashYAxisRenderer.zip](https://github.com/danielgindi/Charts/files/9563294/FixCrashYAxisRenderer.zip)
Contributor guide
Assessment
This issue has not been assessed yet.