ChartWizardStateSettingsSeriesBuilder
Methods
Field(System.Linq.Expressions.Expression)
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.
Parameters
expression - System.Linq.Expressions.Expression<Func>
The expression that specifies the field, based on the bound model.
CategoryField(System.String)
The data item field which contains the category name or date.
Parameters
value - System.String
The value for CategoryField
Name(System.String)
The name of the chart series which is visible in the legend.
Parameters
value - System.String
The value for Name
Color(System.String)
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..
Parameters
value - System.String
The value for Color
ColorHandler(System.String)
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..
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
ColorHandler(System.Func)
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..
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Data(System.Object[])
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.
Parameters
value - System.Object[]
The value for Data
Field(System.String)
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.
Parameters
value - System.String
The value for Field
Labels(System.Action)
The chart series label configuration.
Parameters
configurator - System.Action<ChartWizardStateSeriesLabelsSettingsBuilder>
The configurator for the labels setting.
Stack(System.Action)
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
Parameters
configurator - System.Action<ChartWizardStateSeriesStackSettingsBuilder>
The configurator for the stack setting.
Stack()
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
Stack(System.Boolean)
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
Parameters
enabled - System.Boolean
Enables or disables the stack option.
Width(System.Double)
The line width.
Parameters
value - System.Double
The value for Width
Type(Kendo.Mvc.UI.ChartWizardSeriesType)
Specifies the series type.
Parameters
value - ChartWizardSeriesType
The value for Type