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

Defines the fluent API for configuring ChartLegendInactiveItemsLabelsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartLegendInactiveItemsLabelsSettingsBuilder<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 ChartLegendInactiveItemsLabelsSettingsBuilder<T> class.

C#
public ChartLegendInactiveItemsLabelsSettingsBuilder(ChartLegendInactiveItemsLabelsSettings<T> container)
Parameters:containerChartLegendInactiveItemsLabelsSettings<T>

The ChartLegendInactiveItemsLabelsSettings<T> container

Properties

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

Methods

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

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

The value for Color

Returns:

ChartLegendInactiveItemsLabelsSettingsBuilder<T>

Returns the current ChartLegendInactiveItemsLabelsSettingsBuilder<T> instance.

The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".

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

The value for Font

Returns:

ChartLegendInactiveItemsLabelsSettingsBuilder<T>

Returns the current ChartLegendInactiveItemsLabelsSettingsBuilder<T> instance.

The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts..

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

The value for Template

Returns:

ChartLegendInactiveItemsLabelsSettingsBuilder<T>

Returns the current ChartLegendInactiveItemsLabelsSettingsBuilder<T> instance.

The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts..

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

A Template component that configures the template.

Returns:

ChartLegendInactiveItemsLabelsSettingsBuilder<T>

Returns the current ChartLegendInactiveItemsLabelsSettingsBuilder<T> instance.

The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts..

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

The handler that returs the template for Template

Returns:

ChartLegendInactiveItemsLabelsSettingsBuilder<T>

Returns the current ChartLegendInactiveItemsLabelsSettingsBuilder<T> instance.

The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts..

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

The ID of the template element for Template

Returns:

ChartLegendInactiveItemsLabelsSettingsBuilder<T>

Returns the current ChartLegendInactiveItemsLabelsSettingsBuilder<T> instance.

The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts) or percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts..

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

The view that contains the template for Template

Returns:

ChartLegendInactiveItemsLabelsSettingsBuilder<T>

Returns the current ChartLegendInactiveItemsLabelsSettingsBuilder<T> instance.