Defines the fluent interface for configuring series.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TSeries
TSeriesBuilder
The type of the series builder.
Syntax:
public abstract class ChartSeriesBuilderBase<TSeries, TSeriesBuilder> where TSeries : IChartSeries where TSeriesBuilder : ChartSeriesBuilderBase<TSeries, TSeriesBuilder>
Inheritance: objectChartSeriesBuilderBase<TSeries, TSeriesBuilder>
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the ChartSeriesBuilderBase<TSeries, TSeriesBuilder> class.
protected ChartSeriesBuilderBase(TSeries series)
The series.
Properties
Series
TSeries
Gets or sets the series.
public TSeries Series { get; }
The series.
Methods
Sets the function used to retrieve point color.
public TSeriesBuilder Aggregate(string aggregateFunction)
The JavaScript function that will be executed to retrieve the value of each aggregated point.
Returns:TSeriesBuilder
Sets the axis name to use for this series.
public virtual TSeriesBuilder Axis(string axis)
The value that sets the axis name for this series.
Returns:TSeriesBuilder
Sets the axis name to use for this series.
public virtual TSeriesBuilder CategoryAxis(string categoryAxis)
The value that sets the category axis name for this series.
Returns:TSeriesBuilder
Sets the bar fill color
public TSeriesBuilder Color(string color)
The value that configures the bar fill color (CSS syntax).
Returns:TSeriesBuilder
Sets the function used to retrieve point color.
public TSeriesBuilder ColorHandler(string colorFunction)
The JavaScript function that will be executed to retrieve the color of each point.
Returns:TSeriesBuilder
The data field which contains the value to use to drill down into detailed data for the point.
public TSeriesBuilder DrilldownField(string value)
The value that sets the DrilldownField
Returns:TSeriesBuilder
A function that creates the drilldown series for a given point.The function should accept a single parameter, the point drilldownField value. The function should return a series configuration object or a Promise that resolves to one.
A function that creates the drilldown series for a given point.The function should accept a single parameter, the point drilldownField value. The function should return a series configuration object or a Promise that resolves to one.
public TSeriesBuilder DrilldownSeriesFactory(string handler)
The name of the JavaScript function that will be evaluated.
Returns:TSeriesBuilder
The legend focus highlight configuration options.
public TSeriesBuilder FocusHighlight(Action<ChartSeriesFocusHighlightSettingsBuilder> configurator)
The configurator for the focus highlight setting.
Returns:TSeriesBuilder
Configures the series highlight
public TSeriesBuilder Highlight(Action<ChartSeriesHighlightBuilder> configurator)
Use the configurator to set highlight options.
Returns:TSeriesBuilder
Configures the highlight visibility
public TSeriesBuilder Highlight(bool visible)
The value that sets the highlight visibility.
Returns:TSeriesBuilder
The chart series legend configuration options.
public TSeriesBuilder LegendItem(Action<ChartSeriesLegendItemSettingsBuilder> configurator)
Use the configurator to set series legend options.
Returns:TSeriesBuilder
The configuration of the Box Plot mean value indicator (line).
public TSeriesBuilder Mean(Action<ChartSeriesMeanBuilder> configurator)
Use the configurator to set mean options.
Returns:TSeriesBuilder
The configuration of the Box Plot median value indicator (line).
public TSeriesBuilder Median(Action<ChartSeriesMedianBuilder> configurator)
Use the configurator to set median options.
Returns:TSeriesBuilder
Sets the series title displayed in the legend.
public TSeriesBuilder Name(string text)
The value that sets the title.
Returns:TSeriesBuilder
Configures the series notes
public TSeriesBuilder Notes(Action<ChartNoteBuilder> configurator)
Use the configurator to set notes options.
Returns:TSeriesBuilder
Sets the series opacity.
public TSeriesBuilder Opacity(double opacity)
The value that sets the series opacity in the range from 0 (transparent) to 1 (opaque). The default value is 1.
Returns:TSeriesBuilder
The chart series pattern configuration options.
public TSeriesBuilder Pattern(Action<ChartSeriesPatternSettingsBuilder> configurator)
The configurator for the Pattern setting.
Returns:TSeriesBuilder
Configure the data point tooltip for the series.
public TSeriesBuilder Tooltip(Action<ChartTooltipBuilder> configurator)
Use the configurator to set tooltip options.
Returns:TSeriesBuilder
Sets the data point tooltip visibility.
public TSeriesBuilder Tooltip(bool visible)
A value indicating if the data point tooltip should be displayed. The tooltip is not visible by default.
Returns:TSeriesBuilder
Sets the labels visibility
public TSeriesBuilder Visible(bool visible)
The value that sets the labels visibility.
Returns:TSeriesBuilder
Sets the labels visibility in the legend
public TSeriesBuilder VisibleInLegend(bool visible)
The value that configures the series visibility in the legend.
Returns:TSeriesBuilder
Sets the series stacking order relative to other series.
public TSeriesBuilder ZIndex(double zIndex)
The stacking order of series, relative to other series. The series with the highest Z-index will be placed on top.
Series with no Z-index will use the default stacking order based on series type. For example line series will be on top with bar and area following below.
Returns:TSeriesBuilder