Skip to content

LineConfigBuilder🔗

Constructor🔗

func NewLineConfigBuilder() *LineConfigBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *LineConfigBuilder) Build() (LineConfig, error)

LineColor🔗

func (builder *LineConfigBuilder) LineColor(lineColor string) *LineConfigBuilder

LineInterpolation🔗

func (builder *LineConfigBuilder) LineInterpolation(lineInterpolation common.LineInterpolation) *LineConfigBuilder

LineStyle🔗

func (builder *LineConfigBuilder) LineStyle(lineStyle cog.Builder[common.LineStyle]) *LineConfigBuilder

LineWidth🔗

func (builder *LineConfigBuilder) LineWidth(lineWidth float64) *LineConfigBuilder

SpanNulls🔗

Indicate if null values should be treated as gaps or connected.

When the value is a number, it represents the maximum delta in the

X axis that should be considered connected. For timeseries, this is milliseconds

func (builder *LineConfigBuilder) SpanNulls(spanNulls common.BoolOrFloat64) *LineConfigBuilder

See also🔗