Skip to content

HeatmapColorOptionsBuilder🔗

Constructor🔗

new HeatmapColorOptionsBuilder()

Methods🔗

build🔗

Builds the object.

build()

exponent🔗

Controls the exponent when scale is set to exponential

exponent(float $exponent)

fill🔗

Controls the color fill when in opacity mode

fill(string $fill)

max🔗

Sets the maximum value for the color scale

max(float $max)

min🔗

Sets the minimum value for the color scale

min(float $min)

mode🔗

Sets the color mode

mode(\Grafana\Foundation\Heatmap\HeatmapColorMode $mode)

reverse🔗

Reverses the color scheme

reverse(bool $reverse)

scale🔗

Controls the color scale

scale(\Grafana\Foundation\Heatmap\HeatmapColorScale $scale)

scheme🔗

Controls the color scheme used

scheme(string $scheme)

steps🔗

Controls the number of color steps

steps(int $steps)

See also🔗