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

Defines the fluent API for configuring ChartValueAxisPlotBandLabelSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartValueAxisPlotBandLabelSettingsBuilder<T> where T : class

Inheritance: objectChartValueAxisPlotBandLabelSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

ChartValueAxisPlotBandLabelSettingsBuilder method.

C#
public ChartValueAxisPlotBandLabelSettingsBuilder(ChartValueAxisPlotBandLabelSettings<T> container)
Parameters:containerChartValueAxisPlotBandLabelSettings<T>

Properties

Gets or sets the Container.

C#
protected ChartValueAxisPlotBandLabelSettings<T> Container { get; }

Methods

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.

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Align(string value)
Parameters:valuestring

The value for Align

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

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

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Background(string value)
Parameters:valuestring

The value for Background

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

The border of the label.

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Border(Action<ChartValueAxisPlotBandLabelBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartValueAxisPlotBandLabelBorderSettingsBuilder<T>>

The ChartValueAxisPlotBandLabelBorderSettingsBuilder<T> for the border setting.

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current instance of ChartValueAxisPlotBandLabelSettingsBuilder<T> .

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

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Color(string value)
Parameters:valuestring

The value for Color

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

The font style of the label.

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Font(string value)
Parameters:valuestring

The value for Font

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

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

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Margin(Action<ChartValueAxisPlotBandLabelMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartValueAxisPlotBandLabelMarginSettingsBuilder<T>>

The ChartValueAxisPlotBandLabelMarginSettingsBuilder<T> for the margin setting.

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current instance of ChartValueAxisPlotBandLabelSettingsBuilder<T> .

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

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Padding(Action<ChartValueAxisPlotBandLabelPaddingSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartValueAxisPlotBandLabelPaddingSettingsBuilder<T>>

The ChartValueAxisPlotBandLabelPaddingSettingsBuilder<T> for the padding setting.

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current instance of ChartValueAxisPlotBandLabelSettingsBuilder<T> .

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.

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Position(string value)
Parameters:valuestring

The value for Position

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

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

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Rotation(double value)
Parameters:valuedouble

The value for Rotation

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

The text of the label.

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Text(string value)
Parameters:valuestring

The value for Text

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

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

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Visible(bool value)
Parameters:valuebool

The value for Visible

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

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..

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Visual(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.

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..

C#
public ChartValueAxisPlotBandLabelSettingsBuilder<T> Visual(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartValueAxisPlotBandLabelSettingsBuilder<T>

Returns the current ChartValueAxisPlotBandLabelSettingsBuilder<T> instance.