Skip to content

FieldColorBuilder🔗

Constructor🔗

func NewFieldColorBuilder() *FieldColorBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *FieldColorBuilder) Build() (FieldColor, error)

FixedColor🔗

The fixed color value for fixed or shades color modes.

func (builder *FieldColorBuilder) FixedColor(fixedColor string) *FieldColorBuilder

Mode🔗

The main color scheme mode.

func (builder *FieldColorBuilder) Mode(mode dashboard.FieldColorModeId) *FieldColorBuilder

SeriesBy🔗

Some visualizations need to know how to assign a series color from by value color schemes.

func (builder *FieldColorBuilder) SeriesBy(seriesBy dashboard.FieldColorSeriesByMode) *FieldColorBuilder

See also🔗