Defines the fluent API for configuring ChartSeriesLabelsToSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartSeriesLabelsToSettingsBuilder<T> where T : class
Inheritance: objectChartSeriesLabelsToSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the ChartSeriesLabelsToSettingsBuilder<T> class.
public ChartSeriesLabelsToSettingsBuilder(ChartSeriesLabelsToSettings<T> container)
The ChartSeriesLabelsToSettings<T> container
Properties
Gets the ChartSeriesLabelsToSettings<T> container.
protected ChartSeriesLabelsToSettings<T> Container { get; }
Methods
The background color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder<T> Background(string value)
The value for Background
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The background color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder<T> BackgroundHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The background color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder<T> BackgroundHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The border of the to labels.
public ChartSeriesLabelsToSettingsBuilder<T> Border(Action<ChartSeriesLabelsToBorderSettingsBuilder<T>> configurator)
The ChartSeriesLabelsToBorderSettingsBuilder<T> for the border setting.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current instance of ChartSeriesLabelsToSettingsBuilder<T> .
The text color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder<T> Color(string value)
The value for Color
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The text color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder<T> ColorHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The text color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public ChartSeriesLabelsToSettingsBuilder<T> ColorHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The font style of the to labels.
public ChartSeriesLabelsToSettingsBuilder<T> Font(string value)
The value for Font
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The font style of the to labels.
public ChartSeriesLabelsToSettingsBuilder<T> FontHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The font style of the to labels.
public ChartSeriesLabelsToSettingsBuilder<T> FontHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The format of the to labels. Uses kendo.format.Format placeholders: {0} - the value.
public ChartSeriesLabelsToSettingsBuilder<T> Format(string value)
The value for Format
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The format of the to labels. Uses kendo.format.Format placeholders: {0} - the value.
public ChartSeriesLabelsToSettingsBuilder<T> FormatHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The format of the to labels. Uses kendo.format.Format placeholders: {0} - the value.
public ChartSeriesLabelsToSettingsBuilder<T> FormatHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
The margin of the to labels. A numeric value will set all margins.
public ChartSeriesLabelsToSettingsBuilder<T> Margin(Action<ChartSeriesLabelsToMarginSettingsBuilder<T>> configurator)
The ChartSeriesLabelsToMarginSettingsBuilder<T> for the margin setting.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current instance of ChartSeriesLabelsToSettingsBuilder<T> .
The padding of the to labels. A numeric value will set all paddings.
public ChartSeriesLabelsToSettingsBuilder<T> Padding(Action<ChartSeriesLabelsToPaddingSettingsBuilder<T>> configurator)
The ChartSeriesLabelsToPaddingSettingsBuilder<T> for the padding setting.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current instance of ChartSeriesLabelsToSettingsBuilder<T> .
Specifies the position of the "to" labels.
public ChartSeriesLabelsToSettingsBuilder<T> Position(ChartSeriesLabelsPosition value)
The value for Position
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
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<T> Template(string value)
The value for Template
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
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<T> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
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<T> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
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<T> TemplateId(string templateId)
The ID of the template element for Template
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
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<T> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
If set to true the chart will display the series to labels. By default chart series to labels are not displayed.
public ChartSeriesLabelsToSettingsBuilder<T> Visible(bool value)
The value for Visible
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
If set to true the chart will display the series to labels. By default chart series to labels are not displayed.
public ChartSeriesLabelsToSettingsBuilder<T> VisibleHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.
If set to true the chart will display the series to labels. By default chart series to labels are not displayed.
public ChartSeriesLabelsToSettingsBuilder<T> VisibleHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartSeriesLabelsToSettingsBuilder<T>
Returns the current ChartSeriesLabelsToSettingsBuilder<T> instance.