Skip to content

YAxisConfigBuilder🔗

Constructor🔗

new YAxisConfigBuilder()

Methods🔗

build🔗

Builds the object.

build()

axisBorderShow🔗

axisBorderShow(bool $axisBorderShow)

axisCenteredZero🔗

axisCenteredZero(bool $axisCenteredZero)

axisColorMode🔗

axisColorMode(\Grafana\Foundation\Common\AxisColorMode $axisColorMode)

axisGridShow🔗

axisGridShow(bool $axisGridShow)

axisLabel🔗

axisLabel(string $axisLabel)

axisPlacement🔗

axisPlacement(\Grafana\Foundation\Common\AxisPlacement $axisPlacement)

axisSoftMax🔗

axisSoftMax(float $axisSoftMax)

axisSoftMin🔗

axisSoftMin(float $axisSoftMin)

axisWidth🔗

axisWidth(float $axisWidth)

decimals🔗

Controls the number of decimals for yAxis values

decimals(float $decimals)

max🔗

Sets the maximum value for the yAxis

max(float $max)

min🔗

Sets the minimum value for the yAxis

min(float $min)

reverse🔗

Reverses the yAxis

reverse(bool $reverse)

scaleDistribution🔗

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Common\ScaleDistributionConfig> $scaleDistribution

scaleDistribution(\Grafana\Foundation\Cog\Builder $scaleDistribution)

unit🔗

Sets the yAxis unit

unit(string $unit)

See also🔗