Defines the fluent API for configuring ChartSeriesLabelsToSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartSeriesLabelsToSettingsBuilder
Inheritance: objectChartSeriesLabelsToSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the ChartSeriesLabelsToSettingsBuilder<T> class.
public ChartSeriesLabelsToSettingsBuilder(ChartSeriesLabelsToSettings container)
The ChartSeriesLabelsToSettings<T> container
Properties
Gets the ChartSeriesLabelsToSettings<T> container.
protected ChartSeriesLabelsToSettings Container { get; }
Methods
The background color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder Background(string value)
The value for Background
Returns:The background color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder BackgroundHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:The border of the to labels.
public ChartSeriesLabelsToSettingsBuilder Border(Action<ChartSeriesLabelsToBorderSettingsBuilder> configurator)
The configurator for the border setting.
Returns:The text color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder Color(string value)
The value for Color
Returns:The text color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder ColorHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:The font style of the to labels.
public ChartSeriesLabelsToSettingsBuilder Font(string value)
The value for Font
Returns:The font style of the to labels.
public ChartSeriesLabelsToSettingsBuilder FontHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:The format of the to labels. Uses kendo.format.
public ChartSeriesLabelsToSettingsBuilder Format(string value)
The value for Format
Returns:The format of the to labels. Uses kendo.format.
public ChartSeriesLabelsToSettingsBuilder FormatHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:The margin of the to labels. A numeric value will set all margins.
public ChartSeriesLabelsToSettingsBuilder Margin(Action<ChartSeriesLabelsToMarginSettingsBuilder> configurator)
The configurator for the margin setting.
Returns:The padding of the to labels. A numeric value will set all paddings.
public ChartSeriesLabelsToSettingsBuilder Padding(Action<ChartSeriesLabelsToPaddingSettingsBuilder> configurator)
The configurator for the padding setting.
Returns:Specifies the position of the "to" labels.
public ChartSeriesLabelsToSettingsBuilder Position(ChartSeriesLabelsPosition value)
The value for Position
Returns:The template which renders the chart series to label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
public ChartSeriesLabelsToSettingsBuilder Template(string value)
The value for Template
Returns:The template which renders the chart series to label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
public ChartSeriesLabelsToSettingsBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:The template which renders the chart series to label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
public ChartSeriesLabelsToSettingsBuilder TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:The template which renders the chart series to label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
public ChartSeriesLabelsToSettingsBuilder TemplateId(string templateId)
The ID of the template element for Template
Returns:The template which renders the chart series to label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
public ChartSeriesLabelsToSettingsBuilder TemplateView(MvcHtmlString value)
If set to true the chart will display the series to labels. By default chart series to labels are not displayed.
public ChartSeriesLabelsToSettingsBuilder Visible(bool value)
The value for Visible
Returns:If set to true the chart will display the series to labels. By default chart series to labels are not displayed.
public ChartSeriesLabelsToSettingsBuilder VisibleHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns: