Kendo.Mvc.UI.Fluent.ChartSeriesLabelsSettingsBuilder
Defines the fluent API for configuring ChartSeriesLabelsSettings
Properties
Container
Gets the 1 container.
Methods
Align(Kendo.Mvc.UI.ChartFunnelLabelsAlign)
Specifies the alignment of the labels.
Parameters
value Kendo.Mvc.UI.ChartFunnelLabelsAlign
The value for Align
Align(Kendo.Mvc.UI.ChartPieLabelsAlign)
Specifies the alignment of the labels.
Parameters
value Kendo.Mvc.UI.ChartPieLabelsAlign
The value for Align
Margin(System.Int32)
The margin of the labels.
Parameters
value System.Int32
The integer value to apply as labels margin.
Padding(System.Int32)
The margin of the labels.
Parameters
value System.Int32
The integer value to apply as padding to the labels.
Position(Kendo.Mvc.UI.ChartBarLabelsPosition)
Specifies the position of the labels.
Parameters
value Kendo.Mvc.UI.ChartBarLabelsPosition
The value for Position
Position(Kendo.Mvc.UI.ChartFunnelLabelsPosition)
Specifies the position of the labels.
Parameters
value Kendo.Mvc.UI.ChartFunnelLabelsPosition
The value for Position
Position(Kendo.Mvc.UI.ChartPieLabelsPosition)
Specifies the position of the labels.
Parameters
value Kendo.Mvc.UI.ChartPieLabelsPosition
The value for Position
Position(Kendo.Mvc.UI.ChartPointLabelsPosition)
Specifies the position of the labels.
Parameters
value Kendo.Mvc.UI.ChartPointLabelsPosition
The value for Position
Background(System.String)
The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
Parameters
value System.String
The value for Background
BackgroundHandler(System.String)
The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
Parameters
handler System.String
The name of the JavaScript function that will be evaluated.
BackgroundHandler(System.Func<System.Object,System.Object>)
The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag.
Border(System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsBorderSettingsBuilder<T>>)
The border of the labels.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsBorderSettingsBuilder>
The configurator for the border setting.
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
ColorHandler(System.String)
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
Parameters
handler System.String
The name of the JavaScript function that will be evaluated.
ColorHandler(System.Func<System.Object,System.Object>)
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag.
Distance(System.Double)
The distance of the labels when series.type is set to "donut" or "pie".
Parameters
value System.Double
The value for Distance
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
FontHandler(System.String)
The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".
Parameters
handler System.String
The name of the JavaScript function that will be evaluated.
FontHandler(System.Func<System.Object,System.Object>)
The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag.
Format(System.String)
The format of the labels. Uses kendo.format.
Parameters
value System.String
The value for Format
FormatHandler(System.String)
The format of the labels. Uses kendo.format.
Parameters
handler System.String
The name of the JavaScript function that will be evaluated.
FormatHandler(System.Func<System.Object,System.Object>)
The format of the labels. Uses kendo.format.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag.
Margin(System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsMarginSettingsBuilder<T>>)
The margin of the labels. A numeric value will set all margins.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsMarginSettingsBuilder>
The configurator for the margin setting.
Padding(System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsPaddingSettingsBuilder<T>>)
The padding of the labels. A numeric value will set all paddings.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsPaddingSettingsBuilder>
The configurator for the padding setting.
Rotation(System.String)
The rotation angle of the labels. By default, the labels are not rotated.
Parameters
value System.String
The value for Rotation
Template(System.String)
The template which renders the chart series label.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, line, pie and waterfall series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; series - the data series; stackValue - the cumulative point value on the stack. Available only for stackable series.; value - the point value. Can be a number or object containing each bound field.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
Parameters
value System.String
The value for Template
TemplateId(System.String)
The template which renders the chart series label.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, line, pie and waterfall series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; series - the data series; stackValue - the cumulative point value on the stack. Available only for stackable series.; value - the point value. Can be a number or object containing each bound field.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
Parameters
templateId System.String
The ID of the template element for Template
Visible(System.Boolean)
If set to true the chart will display the series labels. By default chart series labels are not displayed.
Parameters
value System.Boolean
The value for Visible
VisibleHandler(System.String)
If set to true the chart will display the series labels. By default chart series labels are not displayed.
Parameters
handler System.String
The name of the JavaScript function that will be evaluated.
VisibleHandler(System.Func<System.Object,System.Object>)
If set to true the chart will display the series labels. By default chart series labels are not displayed.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag.
Visual(System.String)
A function that can be used to create a custom visual for the labels. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the label options.; createVisual - a function that can be used to get the default visual.; sender - the chart instance (may be undefined).; value - The point value.; category - The point category.; stackValue - The cumulative point value on the stack. Available only for the stackable series.; dataItem - The point dataItem.; series - The point series.; percentage - The point value that is represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.; runningTotal - The sum of point values from the last runningTotal summary point onwards. Available for the Waterfall series. or total - The sum of all previous series values. Available for the Waterfall series..
Parameters
handler System.String
The name of the JavaScript function that will be evaluated.
Visual(System.Func<System.Object,System.Object>)
A function that can be used to create a custom visual for the labels. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the label options.; createVisual - a function that can be used to get the default visual.; sender - the chart instance (may be undefined).; value - The point value.; category - The point category.; stackValue - The cumulative point value on the stack. Available only for the stackable series.; dataItem - The point dataItem.; series - The point series.; percentage - The point value that is represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.; runningTotal - The sum of point values from the last runningTotal summary point onwards. Available for the Waterfall series. or total - The sum of all previous series values. Available for the Waterfall series..
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag.
From(System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsFromSettingsBuilder<T>>)
The chart series from label configuration.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsFromSettingsBuilder>
The configurator for the from setting.
To(System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsToSettingsBuilder<T>>)
The chart series to label configuration.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ChartSeriesLabelsToSettingsBuilder>
The configurator for the to setting.
Align(Kendo.Mvc.UI.ChartSeriesLabelsAlign)
Specifies the alignment of the labels.
Parameters
value Kendo.Mvc.UI.ChartSeriesLabelsAlign
The value for Align
Position(Kendo.Mvc.UI.ChartSeriesLabelsPosition)
Specifies the position of the labels.
Parameters
value Kendo.Mvc.UI.ChartSeriesLabelsPosition
The value for Position
PositionHandler(System.String)
Specifies the position of the labels.
Parameters
handler System.String
The name of the JavaScript function that will be evaluated.
PositionHandler(System.Func<System.Object,System.Object>)
Specifies the position of the labels.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag.