Skip to content

YAxisConfigBuilder🔗

Constructor🔗

func NewYAxisConfigBuilder() *YAxisConfigBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *YAxisConfigBuilder) Build() (YAxisConfig, error)

AxisBorderShow🔗

func (builder *YAxisConfigBuilder) AxisBorderShow(axisBorderShow bool) *YAxisConfigBuilder

AxisCenteredZero🔗

func (builder *YAxisConfigBuilder) AxisCenteredZero(axisCenteredZero bool) *YAxisConfigBuilder

AxisColorMode🔗

func (builder *YAxisConfigBuilder) AxisColorMode(axisColorMode common.AxisColorMode) *YAxisConfigBuilder

AxisGridShow🔗

func (builder *YAxisConfigBuilder) AxisGridShow(axisGridShow bool) *YAxisConfigBuilder

AxisLabel🔗

func (builder *YAxisConfigBuilder) AxisLabel(axisLabel string) *YAxisConfigBuilder

AxisPlacement🔗

func (builder *YAxisConfigBuilder) AxisPlacement(axisPlacement common.AxisPlacement) *YAxisConfigBuilder

AxisSoftMax🔗

func (builder *YAxisConfigBuilder) AxisSoftMax(axisSoftMax float64) *YAxisConfigBuilder

AxisSoftMin🔗

func (builder *YAxisConfigBuilder) AxisSoftMin(axisSoftMin float64) *YAxisConfigBuilder

AxisWidth🔗

func (builder *YAxisConfigBuilder) AxisWidth(axisWidth float64) *YAxisConfigBuilder

Decimals🔗

Controls the number of decimals for yAxis values

func (builder *YAxisConfigBuilder) Decimals(decimals float32) *YAxisConfigBuilder

Max🔗

Sets the maximum value for the yAxis

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

Min🔗

Sets the minimum value for the yAxis

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

Reverse🔗

Reverses the yAxis

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

ScaleDistribution🔗

func (builder *YAxisConfigBuilder) ScaleDistribution(scaleDistribution cog.Builder[common.ScaleDistributionConfig]) *YAxisConfigBuilder

Unit🔗

Sets the yAxis unit

func (builder *YAxisConfigBuilder) Unit(unit string) *YAxisConfigBuilder

See also🔗