Defines the fluent API for configuring the ChartWizardStateSettingsInitialSerie settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartWizardStateSettingsInitialSerieBuilder<T> where T : class
Inheritance: objectChartWizardStateSettingsInitialSerieBuilder<T>
Inherited Members
Constructors
Initialize the ChartWizardStateSettingsInitialSerieBuilder
public ChartWizardStateSettingsInitialSerieBuilder(ChartWizardStateSettingsInitialSerie settings)
Methods
The data item field which contains the category name or date.
public ChartWizardStateSettingsInitialSerieBuilder<T> CategoryField(string value)
The value that configures the categoryfield.
Returns: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 ChartWizardStateSettingsInitialSerieBuilder<T> Color(string value)
The value that configures the color.
Returns: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 ChartWizardStateSettingsInitialSerieBuilder<T> Data(params object[] value)
The value for Data
Returns: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 ChartWizardStateSettingsInitialSerieBuilder<T> Field(string value)
The value that configures the field.
Returns: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 ChartWizardStateSettingsInitialSerieBuilder<T> Field<TValue>(Expression<Func<T, TValue>> expression)
The expression that specifies the field, based on the bound model.
Returns:The chart series label configuration.
public ChartWizardStateSettingsInitialSerieBuilder<T> Labels(Action<ChartWizardStateInitialSerieLabelsSettingsBuilder<T>> configurator)
The action that configures the labels.
Returns:The name of the chart series which is visible in the legend.
public ChartWizardStateSettingsInitialSerieBuilder<T> Name(string value)
The value that configures the name.
Returns:A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
public ChartWizardStateSettingsInitialSerieBuilder<T> Stack()
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
public ChartWizardStateSettingsInitialSerieBuilder<T> Stack(Action<ChartWizardStateInitialSerieStackSettingsBuilder<T>> configurator)
The action that configures the stack.
Returns:A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
public ChartWizardStateSettingsInitialSerieBuilder<T> Stack(bool enabled)
Enables or disables the stack option.
Returns:Specifies the series type.
public ChartWizardStateSettingsInitialSerieBuilder<T> Type(ChartWizardSeriesType value)
The value that configures the type.
Returns:The line width.
public ChartWizardStateSettingsInitialSerieBuilder<T> Width(double value)
The value that configures the width.
Returns: