Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Color is missing if more than 5 data points are available #79

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

budavariam
Copy link
Member

In the Circle.getColorStyle function it's possible that there are more data colors than the minimum necessary values, then the code would create an array with a negative item number, leading to an exception.
The match interpolate color is used for circle-color, and it requires at least one fallback value.

@budavariam budavariam self-assigned this Oct 2, 2023
@drakvuf drakvuf merged commit fbd02d4 into master Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants