Defines the fluent interface for configuring area series.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TSeries
TSeriesBuilder
Syntax:
public abstract class ChartAreaSeriesBuilderBase<TSeries, TSeriesBuilder> : ChartSeriesBuilderBase<TSeries, TSeriesBuilder> where TSeries : IAreaSeries where TSeriesBuilder : ChartAreaSeriesBuilderBase<TSeries, TSeriesBuilder>
Inheritance: objectChartSeriesBuilderBase<TSeries, TSeriesBuilder>ChartAreaSeriesBuilderBase<TSeries, TSeriesBuilder>
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the ChartAreaSeriesBuilderBase<TSeries, TSeriesBuilder> class.
public ChartAreaSeriesBuilderBase(TSeries series)
The series.
Methods
Sets the aggregate function for Date axis. This function is used when a category (an year, month, etc.) contains two or more points.
public TSeriesBuilder Aggregate(ChartSeriesAggregate aggregate)
The value that configures the aggregate function.
Returns:TSeriesBuilder
Sets the Model property that holds the category or date.
public TSeriesBuilder CategoryField(string categoryField)
The name of the Model property.
Returns:TSeriesBuilder
Sets the Model property that holds the series color.
public TSeriesBuilder ColorField(string colorField)
The name of the Model property.
Returns:TSeriesBuilder
Sets the Model property that holds the series value.
public TSeriesBuilder Field(string field)
The name of the Model property.
Returns:TSeriesBuilder
Defines the series highlighting configuration options.
public TSeriesBuilder Highlight(Action<ChartLineSeriesHighlightBuilder> configurator)
The action that configures the highlighting settings.
Returns:TSeriesBuilder
Configures the label settings of the Area Chart.
public TSeriesBuilder Labels(Action<ChartPointLabelsBuilder> configurator)
The action that configures the label settings.
Returns:TSeriesBuilder
Sets the visibility of Area Chart labels. By default, the labels are hidden.
public TSeriesBuilder Labels(bool visible)
The option that toggles the visibility of the labels.
Returns:TSeriesBuilder
Configures the settings of the series markers.
public TSeriesBuilder Markers(Action<ChartMarkersBuilder> configurator)
The action that configures the markers settings.
Returns:TSeriesBuilder
Sets the visibility of Area Chart markers. By default, the series markers are visible.
public TSeriesBuilder Markers(bool visible)
The option that toggles the visibility of the markers.
Returns:TSeriesBuilder
Configures the behavior for handling missing values in the Area Chart series. By default, the plot stops before the missing point and continues after it.
public TSeriesBuilder MissingValues(ChartAreaMissingValues missingValues)
The enum value that configures the missing values behavior.
Returns:TSeriesBuilder
Sets the Model property that holds the series note text.
public TSeriesBuilder NoteTextField(string noteTextField)
The name of the Model property.
Returns:TSeriesBuilder
If set to "true", the series will be stacked.
public TSeriesBuilder Stack(bool stacked)
A value indicating if the series must be stacked.
Returns:TSeriesBuilder
Sets the type of stack to plot.
public TSeriesBuilder Stack(ChartStackType type)
A value indicating the stacking type.
Returns:TSeriesBuilder