xdev-software / chartjs-java-model

Provides Java models for Chart.js
Apache License 2.0
11 stars 6 forks source link

Color: add HSLA support #238

Closed jepsar closed 3 weeks ago

jepsar commented 3 weeks ago

Checklist

Description

The current color object only supports RGBA. When it comes to generating random colors HSLA is easier to work with (to get colors with a consistent darkness for example).

Additional information

No response

AB-xdev commented 3 weeks ago

Fixed by https://github.com/xdev-software/chartjs-java-model/commit/3468543b5cf5c1e6d7e22add93a651d8bbc1d8a0

will be released with the next version

jepsar commented 3 weeks ago

That's quick! Thank you!