Kendo.Mvc.UI.Fluent.ChartLegendLabelsSettingsBuilder

Defines the fluent API for configuring ChartLegendLabelsSettings

Methods

Color(System.String)

The text color of the labels. 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 labels.

Parameters

value System.String

The value for Font

Margin(System.Action<Kendo.Mvc.UI.Fluent.ChartLegendLabelsMarginSettingsBuilder<T>>)

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

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartLegendLabelsMarginSettingsBuilder>

The configurator for the margin setting.

Padding(System.Action<Kendo.Mvc.UI.Fluent.ChartLegendLabelsPaddingSettingsBuilder<T>>)

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

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartLegendLabelsPaddingSettingsBuilder>

The configurator for the padding setting.

Template(System.String)

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

Parameters

value System.String

The value for Template

TemplateId(System.String)

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

Parameters

templateId System.String

The ID of the template element for Template