Skip to content

[BUG] getHsla() can't parse float Hue #4307

Closed
@Nakilon

Description

@Nakilon

Using hsla color (for example "hsla(240.0384227364303,4.12843378950259%,48.71943371204973%,0.3)") causes (at least in bubble chart) error when you hover over bubbles. It is because the getHsla function parses (idk for what) color with regex that does not support float Hue.

Seems like it was fixed here https://github.com/Qix-/color-string/pull/19/files but your fork looks very outdated. Should I make a PR to chartjs-color repo?

Also consider https://github.com/Qix-/color-string/pull/37

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions