Defines the fluent API for configuring ChartWizardStateSettingsSeries
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartWizardStateSettingsSeriesBuilder<T> where T : class
Inheritance: objectChartWizardStateSettingsSeriesBuilder<T>
Inherited Members
Constructors
ChartWizardStateSettingsSeriesBuilder method.
public ChartWizardStateSettingsSeriesBuilder(ChartWizardStateSettingsSeries<T> container)
Properties
Gets or sets the Container.
protected ChartWizardStateSettingsSeries<T> Container { get; }
Methods
The data item field which contains the category name or date.
public ChartWizardStateSettingsSeriesBuilder<T> CategoryField(string value)
The value for CategoryField
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.
The series base color. The supported values are: CSS color string, including hex and rgb or function(point) - user-defined function that will be evaluated for each point. Returning undefined will assume the default series color..
public ChartWizardStateSettingsSeriesBuilder<T> Color(string value)
The value for Color
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.
The series base color. The supported values are: CSS color string, including hex and rgb or function(point) - user-defined function that will be evaluated for each point. Returning undefined will assume the default series color..
public ChartWizardStateSettingsSeriesBuilder<T> ColorHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.
The series base color. The supported values are: CSS color string, including hex and rgb or function(point) - user-defined function that will be evaluated for each point. Returning undefined will assume the default series color..
public ChartWizardStateSettingsSeriesBuilder<T> ColorHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.
The array of data items which represent the series data.Can be set to : Array of objects. Each point is bound to the field specified via the series.field option.; Array of numbers. Supported when the series.type option is set to "bar", "column", "pie", or "line".; Array of arrays of numbers. Supported when the series.type option is set to "scatter". or Scatter and scatter line series need arrays of two values - X value and Y value.
public ChartWizardStateSettingsSeriesBuilder<T> Data(params object[] value)
The value for Data
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.
The data item field which contains the series value. The field name should be a valid Javascript identifier and should contain only alphanumeric characters (or "$" or "_"), and may not start with a digit.
public ChartWizardStateSettingsSeriesBuilder<T> Field(string value)
The value for Field
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.
The data item field which contains the series value. The field name should be a valid Javascript identifier and should contain only alphanumeric characters (or "$" or "_"), and may not start with a digit.
public ChartWizardStateSettingsSeriesBuilder<T> Field<TValue>(Expression<Func<T, TValue>> expression)
The expression that specifies the field, based on the bound model.
Returns:ChartWizardStateSettingsSeriesBuilder<T>
The current ChartWizardStateSettingsSeriesBuilder<T> instance
The chart series label configuration.
public ChartWizardStateSettingsSeriesBuilder<T> Labels(Action<ChartWizardStateSeriesLabelsSettingsBuilder<T>> configurator)
The ChartWizardStateSeriesLabelsSettingsBuilder<T> for the labels setting.
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current instance of ChartWizardStateSettingsSeriesBuilder<T> .
The name of the chart series which is visible in the legend.
public ChartWizardStateSettingsSeriesBuilder<T> Name(string value)
The value for Name
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
public ChartWizardStateSettingsSeriesBuilder<T> Stack()
ChartWizardStateSettingsSeriesBuilder<T>
Returns the current instance of ChartWizardStateSeriesStackSettingsBuilder<T> .
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
public ChartWizardStateSettingsSeriesBuilder<T> Stack(Action<ChartWizardStateSeriesStackSettingsBuilder<T>> configurator)
The ChartWizardStateSeriesStackSettingsBuilder<T> for the stack setting.
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current instance of ChartWizardStateSettingsSeriesBuilder<T> .
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
public ChartWizardStateSettingsSeriesBuilder<T> Stack(bool enabled)
Enables or disables the stack option.
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current instance of ChartWizardStateSeriesStackSettingsBuilder<T> .
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
public ChartWizardStateSettingsSeriesBuilder<T> Stack(string stack)
The stack.
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current instance of ChartWizardStateSettingsSeriesBuilder<T> .
Specifies the series type.
public ChartWizardStateSettingsSeriesBuilder<T> Type(ChartWizardSeriesType value)
The value for Type
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.
The line width.
public ChartWizardStateSettingsSeriesBuilder<T> Width(double value)
The value for Width
Returns:ChartWizardStateSettingsSeriesBuilder<T>
Returns the current ChartWizardStateSettingsSeriesBuilder<T> instance.