Skip to content

YAxisConfigBuilder🔗

Constructor🔗

new YAxisConfigBuilder()

Methods🔗

build🔗

Builds the object.

build()

axisBorderShow🔗

axisBorderShow(axisBorderShow: boolean)

axisCenteredZero🔗

axisCenteredZero(axisCenteredZero: boolean)

axisColorMode🔗

axisColorMode(axisColorMode: common.AxisColorMode)

axisGridShow🔗

axisGridShow(axisGridShow: boolean)

axisLabel🔗

axisLabel(axisLabel: string)

axisPlacement🔗

axisPlacement(axisPlacement: common.AxisPlacement)

axisSoftMax🔗

axisSoftMax(axisSoftMax: number)

axisSoftMin🔗

axisSoftMin(axisSoftMin: number)

axisWidth🔗

axisWidth(axisWidth: number)

decimals🔗

Controls the number of decimals for yAxis values

decimals(decimals: number)

max🔗

Sets the maximum value for the yAxis

max(max: number)

min🔗

Sets the minimum value for the yAxis

min(min: number)

reverse🔗

Reverses the yAxis

reverse(reverse: boolean)

scaleDistribution🔗

scaleDistribution(scaleDistribution: cog.Builder<common.ScaleDistributionConfig>)

unit🔗

Sets the yAxis unit

unit(unit: string)

See also🔗