Skip to content

HeatmapColorOptionsBuilder🔗

Constructor🔗

func NewHeatmapColorOptionsBuilder() *HeatmapColorOptionsBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *HeatmapColorOptionsBuilder) Build() (HeatmapColorOptions, error)

Exponent🔗

Controls the exponent when scale is set to exponential

func (builder *HeatmapColorOptionsBuilder) Exponent(exponent float32) *HeatmapColorOptionsBuilder

Fill🔗

Controls the color fill when in opacity mode

func (builder *HeatmapColorOptionsBuilder) Fill(fill string) *HeatmapColorOptionsBuilder

Max🔗

Sets the maximum value for the color scale

func (builder *HeatmapColorOptionsBuilder) Max(max float32) *HeatmapColorOptionsBuilder

Min🔗

Sets the minimum value for the color scale

func (builder *HeatmapColorOptionsBuilder) Min(min float32) *HeatmapColorOptionsBuilder

Mode🔗

Sets the color mode

func (builder *HeatmapColorOptionsBuilder) Mode(mode heatmap.HeatmapColorMode) *HeatmapColorOptionsBuilder

Reverse🔗

Reverses the color scheme

func (builder *HeatmapColorOptionsBuilder) Reverse(reverse bool) *HeatmapColorOptionsBuilder

Scale🔗

Controls the color scale

func (builder *HeatmapColorOptionsBuilder) Scale(scale heatmap.HeatmapColorScale) *HeatmapColorOptionsBuilder

Scheme🔗

Controls the color scheme used

func (builder *HeatmapColorOptionsBuilder) Scheme(scheme string) *HeatmapColorOptionsBuilder

Steps🔗

Controls the number of color steps

func (builder *HeatmapColorOptionsBuilder) Steps(steps uint64) *HeatmapColorOptionsBuilder

See also🔗