New to Telerik UI for ASP.NET Core? Download free 30-day trial

ChartXAxisPlotBandLabelSettingsBuilder

Methods

Align(System.String)

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 or "center" - the plotband label is positioned in the center.

Parameters

value - System.String

The value for Align

Background(System.String)

The background color of the label. Accepts a valid CSS color string, including hex and rgb.

Parameters

value - System.String

The value for Background

Border(System.Action)

The border of the label.

Parameters

configurator - System.Action<ChartXAxisPlotBandLabelBorderSettingsBuilder>

The configurator for the border setting.

Color(System.String)

The text color of the label. Accepts a valid CSS color string, including hex and rgb.

Parameters

value - System.String

The value for Color

Font(System.String)

The font style of the label.

Parameters

value - System.String

The value for Font

Margin(System.Action)

The margin of the label. A numeric value will set all margins.

Parameters

configurator - System.Action<ChartXAxisPlotBandLabelMarginSettingsBuilder>

The configurator for the margin setting.

Padding(System.Action)

The padding of the label. A numeric value will set all paddings.

Parameters

configurator - System.Action<ChartXAxisPlotBandLabelPaddingSettingsBuilder>

The configurator for the padding setting.

Position(System.String)

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 or "center" - the axis label is positioned in the center.

Parameters

value - System.String

The value for Position

Rotation(System.Double)

The rotation angle of the label. By default the label is not rotated.

Parameters

value - System.Double

The value for Rotation

Text(System.String)

The text of the label.

Parameters

value - System.String

The value for Text

Visible(System.Boolean)

If set to false the chart will not display the label.

Parameters

value - System.Boolean

The value for Visible

Visual(System.String)

A 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.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Visual(System.Func)

A 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.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?