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