ValueAxis.plotBands.label
configurationThe label configuration of the plotband.
The valueAxis.plotBands.label.text option must be set in order to display the plotband label.
The position of the plotband label.
The supported values are:
- "left" - the plotband label is positioned on the left
- "right" - the plotband label is positioned on the right
- "center" - the plotband label is positioned in the center
Default: "left"
The background color of the label. Accepts a valid CSS color string, including hex and rgb.
The border of the label.
The text color of the label. Accepts a valid CSS color string, including hex and rgb.
The font style of the label.
Default: "16px Arial,Helvetica,sans-serif"
valueAxis.plotBands.label.margin
Number|ObjectThe margin of the label. A numeric value will set all margins.
Default: 5
valueAxis.plotBands.label.padding
Number|ObjectThe padding of the label. A numeric value will set all paddings.
Default: 0
The position of the label.
The supported values are:
- "top" - the axis label is positioned on the top
- "bottom" - the axis label is positioned on the bottom
- "center" - the axis label is positioned in the center
Default: "center"
The rotation angle of the label. By default the label is not rotated.
Default: 0
The text of the label.
The text can be split into multiple lines by using line feed characters ("\n").
If set to false the chart will not display the label.
Default: true
valueAxis.plotBands.label.visual
FunctionA function that can be used to create a custom visual for the label. The available argument fields are:
- text - the label text.
- rect - the
kendo.geometry.Rectthat defines where the visual should be rendered. - sender - the chart instance (may be undefined).
- options - the label options.
- createVisual - a function that can be used to get the default visual.