ChartLegendLabelsSettingsBuilder
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
RETURNS
Returns the current ChartLegendLabelsSettingsBuilder instance.
Font(System.String)
The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".
Parameters
value - System.String
The value for Font
RETURNS
Returns the current ChartLegendLabelsSettingsBuilder instance.
Margin(System.Action)
The margin of the labels. A numeric value will set all margins.
Parameters
configurator - System.Action<ChartLegendLabelsMarginSettingsBuilder>
The configurator for the margin setting.
RETURNS
Returns the current instance of ChartLegendLabelsSettingsBuilder .
Padding(System.Action)
The padding of the labels. A numeric value will set all paddings.
Parameters
configurator - System.Action<ChartLegendLabelsPaddingSettingsBuilder>
The configurator for the padding setting.
RETURNS
Returns the current instance of ChartLegendLabelsSettingsBuilder .
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
RETURNS
Returns the current ChartLegendLabelsSettingsBuilder instance.
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
RETURNS
Returns the current ChartLegendLabelsSettingsBuilder instance.
TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)
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
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for Template
RETURNS
Returns the current ChartLegendLabelsSettingsBuilder instance.
TemplateHandler(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
templateHandler - System.String
The handler that returs the template for Template
RETURNS
Returns the current ChartLegendLabelsSettingsBuilder instance.
Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)
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
template - TemplateBuilder<TModel>
A Template component that configures the template.
RETURNS
Returns the current ChartLegendLabelsSettingsBuilder instance.