Defines the fluent API for configuring StockChartNavigatorSeriesLabelsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class StockChartNavigatorSeriesLabelsSettingsBuilder<T> where T : class
Inheritance: objectStockChartNavigatorSeriesLabelsSettingsBuilder<T>
Inherited Members
Constructors
StockChartNavigatorSeriesLabelsSettingsBuilder method.
public StockChartNavigatorSeriesLabelsSettingsBuilder(StockChartNavigatorSeriesLabelsSettings<T> container)
Properties
Gets or sets the Container.
protected StockChartNavigatorSeriesLabelsSettings<T> Container { get; }
Methods
The background color of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Background(string value)
The value for Background
Returns:The border of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Border(Action<StockChartNavigatorSeriesLabelsBorderSettingsBuilder<T>> configurator)
The configurator for the border setting.
Returns:The text color of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Color(string value)
The value for Color
Returns:The font style of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Font(string value)
The value for Font
Returns:The format of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Format(string value)
The value for Format
Returns:The margin of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Margin(double value)
The value for Margin
Returns:The padding of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Padding(double value)
The value for Padding
Returns:Defines the position of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Position(string value)
The value for Position
Returns: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 and pie 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 100% stacked charts.
- series - the data series
- value - the point value. Can be a number or object containing each bound field.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Template(string value)
The value for Template
Returns:The name of the JavaScript function that returns 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 and pie 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 100% stacked charts.
- series - the data series
- value - the point value. Can be a number or object containing each bound field.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> TemplateHandler(string value)
The name of the JavaScript function that returns the template
Returns:StockChartNavigatorSeriesLabelsSettingsBuilder<T>
The current StockChartNavigatorSeriesLabelsSettingsBuilder<T> instance.
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 and pie 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 100% stacked charts.
- series - the data series
- value - the point value. Can be a number or object containing each bound field.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> TemplateId(string templateId)
The ID of the template element for Template
Returns: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 and pie 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 100% stacked charts.
- series - the data series
- value - the point value. Can be a number or object containing each bound field.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> TemplateView(IHtmlContent value)
The view which contains the template for Template
Returns:StockChartNavigatorSeriesLabelsSettingsBuilder<T>
The current StockChartNavigatorSeriesLabelsSettingsBuilder<T> instance.
The visibility of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Visible()
The visibility of the labels.
public StockChartNavigatorSeriesLabelsSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns: