New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the ChartWizardStateSettingsInitialSerie settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartWizardStateSettingsInitialSerieBuilder<T> where T : class

Inheritance: objectChartWizardStateSettingsInitialSerieBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialize the ChartWizardStateSettingsInitialSerieBuilder

C#
public ChartWizardStateSettingsInitialSerieBuilder(ChartWizardStateSettingsInitialSerie settings)
Parameters:settingsChartWizardStateSettingsInitialSerie

The ChartWizardStateSettingsInitialSerie

Methods

The data item field which contains the category name or date.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> CategoryField(string value)
Parameters:valuestring

The value that configures the categoryfield.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

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..

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

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.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Data(params object[] value)
Parameters:valueobject[]

The value for Data

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

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.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Field(string value)
Parameters:valuestring

The value that configures the field.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

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.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Field<TValue>(Expression<Func<T, TValue>> expression)
Parameters:expressionExpression<Func<T, TValue>>

The expression that specifies the field, based on the bound model.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

The chart series label configuration.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Labels(Action<ChartWizardStateInitialSerieLabelsSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartWizardStateInitialSerieLabelsSettingsBuilder<T>>

The action that configures the labels.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

The name of the chart series which is visible in the legend.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Name(string value)
Parameters:valuestring

The value that configures the name.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Stack()
Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Stack(Action<ChartWizardStateInitialSerieStackSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartWizardStateInitialSerieStackSettingsBuilder<T>>

The action that configures the stack.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Stack(bool enabled)
Parameters:enabledbool

Enables or disables the stack option.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

Specifies the series type.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Type(ChartWizardSeriesType value)
Parameters:valueChartWizardSeriesType

The value that configures the type.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>

The line width.

C#
public ChartWizardStateSettingsInitialSerieBuilder<T> Width(double value)
Parameters:valuedouble

The value that configures the width.

Returns:

ChartWizardStateSettingsInitialSerieBuilder<T>