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

Defines the fluent API for configuring ChartSeriesLabelsFromSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartSeriesLabelsFromSettingsBuilder<T>

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

Constructors

Initializes a new instance of the ChartSeriesLabelsFromSettingsBuilder<T> class.

C#
public ChartSeriesLabelsFromSettingsBuilder(ChartSeriesLabelsFromSettings<T> container)
Parameters:containerChartSeriesLabelsFromSettings<T>

The ChartSeriesLabelsFromSettings<T> container

Properties

Gets the ChartSeriesLabelsFromSettings<T> container.

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

Methods

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

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

The value for Background

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

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

C#
public ChartSeriesLabelsFromSettingsBuilder<T> BackgroundHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

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

C#
public ChartSeriesLabelsFromSettingsBuilder<T> BackgroundHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The border of the from labels.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> Border(Action<ChartSeriesLabelsFromBorderSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartSeriesLabelsFromBorderSettingsBuilder<T>>

The ChartSeriesLabelsFromBorderSettingsBuilder<T> for the border setting.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current instance of ChartSeriesLabelsFromSettingsBuilder<T> .

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

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

The value for Color

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

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

C#
public ChartSeriesLabelsFromSettingsBuilder<T> ColorHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

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

C#
public ChartSeriesLabelsFromSettingsBuilder<T> ColorHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The font style of the from labels.

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

The value for Font

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The font style of the from labels.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> FontHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The font style of the from labels.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> FontHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The format of the from labels. Uses kendo.format.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> Format(string value)
Parameters:valuestring

The value for Format

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The format of the from labels. Uses kendo.format.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> FormatHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The format of the from labels. Uses kendo.format.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> FormatHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

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

C#
public ChartSeriesLabelsFromSettingsBuilder<T> Margin(Action<ChartSeriesLabelsFromMarginSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartSeriesLabelsFromMarginSettingsBuilder<T>>

The ChartSeriesLabelsFromMarginSettingsBuilder<T> for the margin setting.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current instance of ChartSeriesLabelsFromSettingsBuilder<T> .

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

C#
public ChartSeriesLabelsFromSettingsBuilder<T> Padding(Action<ChartSeriesLabelsFromPaddingSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartSeriesLabelsFromPaddingSettingsBuilder<T>>

The ChartSeriesLabelsFromPaddingSettingsBuilder<T> for the padding setting.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current instance of ChartSeriesLabelsFromSettingsBuilder<T> .

Specifies the position of the "from" labels.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> Position(ChartSeriesLabelsPosition value)
Parameters:valueChartSeriesLabelsPosition

The value for Position

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

Specifies the position of the "from" labels.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> PositionHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

Specifies the position of the "from" labels.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> PositionHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The template which renders the chart series from label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..

C#
public ChartSeriesLabelsFromSettingsBuilder<T> Template(string value)
Parameters:valuestring

The value for Template

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The template which renders the chart series from label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..

C#
public ChartSeriesLabelsFromSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The template which renders the chart series from label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..

C#
public ChartSeriesLabelsFromSettingsBuilder<T> TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for Template

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The template which renders the chart series from label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..

C#
public ChartSeriesLabelsFromSettingsBuilder<T> TemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for Template

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

The template which renders the chart series from label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..

C#
public ChartSeriesLabelsFromSettingsBuilder<T> TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

If set to true the chart will display the series from labels. By default chart series from labels are not displayed.

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

The value for Visible

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

If set to true the chart will display the series from labels. By default chart series from labels are not displayed.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> VisibleHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.

If set to true the chart will display the series from labels. By default chart series from labels are not displayed.

C#
public ChartSeriesLabelsFromSettingsBuilder<T> VisibleHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

ChartSeriesLabelsFromSettingsBuilder<T>

Returns the current ChartSeriesLabelsFromSettingsBuilder<T> instance.