Crash (Index out of bounds) in case of custom labels which does not match the number of bars/lines in a combined bar chart
Open
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
In case I set the custom labels (e.g. adding a legend for additional horizontal lines) which count does not matches the number of lines and bars in a combined bar chart, my app crashes in the following line 388 in the `LegendRenderer.swift`.

The size of `calculatedLabelSizes` does not matches the size of `entries`. Therefore I get a **fatal error: Index out of bounds** within the for loop.
Any ideas why the number of lines and bars have to match the number of entries in a custom legend? Makes no sense for me.
Contributor guide
Assessment
This issue has not been assessed yet.