Skip to content

Is it possible to change color of a label if its value matches a certain one? [Heatmap] #1303

@jota12x

Description

@jota12x

Hello, I was wondering about this particular usecase.
I want to change the color of each label that have the value 0. The others should be of different color.
imagen
According to the documentation, the colors array controls them, but it's not a function so I can't pass the value
imagen

I tried using the colorRanges but those only seem to control the background, not the datalabels properties
imagen

Thank you so much in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions