Skip to content

Allow option to clear color picker colors #898

@nickofthyme

Description

@nickofthyme

Is your feature request related to a problem? Please describe.
When using a custom color picker in the legend. The onChange callback does not allow for null value or any other way to clear the custom color selection.

Describe the solution you'd like
The onChange callback takes a null value to clear the selected color value.

Describe alternatives you've considered
Rerender entire chart to update color selection

Metadata

Metadata

Assignees

Labels

:legendLegend related issue:vislibRelating to vislib replacementenhancementNew feature or requestreleasedIssue released publicly

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions