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

Kendo UI ChartSeries class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartSeries<T>

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

Constructors

C#
public ChartSeries()

Properties

Specifies the preferred series aggregate.

C#
public ChartSeriesAggregate? Aggregate { get; set; }

AggregateHandler member.

C#
public ClientHandlerDescriptor AggregateHandler { get; set; }

Aggregates member.

C#
public ChartSeriesAggregateSettings<T> Aggregates { get; }

If set to true, the Chart automatically scales down to fit the content area. Applicable for the Pie and Donut series.

C#
public bool? AutoFit { get; set; }

The name of the value axis to use.

C#
public string Axis { get; set; }

The border of the chart series.

C#
public ChartSeriesBorderSettings<T> Border { get; }

The name of the category axis to use for the series.The first axis will be used if no categoryAxis is specified.

C#
public string CategoryAxis { get; set; }

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

C#
public string CategoryField { get; set; }

Chart member.

C#
public Chart<T> Chart { get; set; }

The data field containing the close value.

C#
public string CloseField { get; set; }

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 string Color { get; set; }

The data item field which contains the series color.

C#
public string ColorField { get; set; }

ColorHandler member.

C#
public ClientHandlerDescriptor ColorHandler { get; set; }

The label connectors options.

C#
public ChartSeriesConnectorsSettings<T> Connectors { get; }

The data item field containing the current value.

C#
public string CurrentField { get; set; }

The dash type of line chart.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.

C#
public ChartDashType? DashType { get; set; }

Data member.

C#
public IEnumerable Data { get; set; }

The series color when the open value is greater than the close value.

C#
public string DownColor { get; set; }

The data field containing the color applied when the open value is greater than the close value.

C#
public string DownColorField { get; set; }

DownColorHandler member.

C#
public ClientHandlerDescriptor DownColorHandler { get; set; }

The data field which contains the value to use to drill down into detailed data for the point.

C#
public string DrilldownField { get; set; }

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.Important - The function must return exactly one series object. Returning an array of series is not supported.

C#
public ClientHandlerDescriptor DrilldownSeriesFactory { get; set; }

When set to false all segments become with the same height, otherwise the height of each segment is based on its value.

C#
public bool? DynamicHeight { get; set; }

When set to true the ratio of the bases of each segment is calculated based on the ratio of currentDataItem.value/nextDataItem.value The last element is always created like a rectangle since there is no following element.

C#
public bool? DynamicSlope { get; set; }

The error bars of the chart series.

C#
public ChartSeriesErrorBarsSettings<T> ErrorBars { get; }

The data item field which contains the series.errorBars high value.

C#
public string ErrorHighField { get; set; }

The data item field which contains the series.errorBars low value.

C#
public string ErrorLowField { get; set; }

The data item field which contains a boolean value indicating whether the sector is exploded.

C#
public string ExplodeField { get; set; }

The chart series extremes configuration. Applies to extreme outliers. Also check series.outliers.

C#
public ChartSeriesExtremesSettings<T> Extremes { get; }

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 string Field { get; set; }

The focus highlight configuration options.

C#
public ChartSeriesFocusHighlightSettings<T> FocusHighlight { get; }

The name of the parent series of the trendline.

C#
public string For { get; set; }

The data item field which contains the series from value.

C#
public string FromField { get; set; }

The distance between categories expressed as a percentage of the bar width.See the related spacing setting.

C#
public double? Gap { get; set; }

The data field containing the high value.

C#
public string HighField { get; set; }

The chart series highlighting configuration options.

C#
public ChartSeriesHighlightSettings<T> Highlight { get; }

The radius of the donut hole in pixels.

C#
public double? HoleSize { get; set; }

The chart series label configuration.

C#
public ChartSeriesLabelsSettings<T> Labels { get; }

The configuration of the Chart legend item for this series.

C#
public ChartSeriesLegendItemSettings<T> LegendItem { get; }

The chart line configuration options.

C#
public ChartSeriesLineSettings<T> Line { get; }

The data item field which contains the series lower value.

C#
public string LowerField { get; set; }

The data field containing the low value.

C#
public string LowField { get; set; }

The margin around each donut series (ring). A numeric value will set all margins.

C#
public double? Margin { get; set; }

The chart series marker configuration.

C#
public ChartSeriesMarkersSettings<T> Markers { get; }

The maximum size of the chart bubble series marker.

C#
public double? MaxSize { get; set; }

The configuration of the Box Plot mean value indicator (line).

C#
public ChartSeriesMeanSettings<T> Mean { get; }

The data item field which contains the series mean value.

C#
public string MeanField { get; set; }

The configuration of the Box Plot median value indicator (line).

C#
public ChartSeriesMedianSettings<T> Median { get; }

The data item field which contains the series median value.

C#
public string MedianField { get; set; }

The minimum size of the chart bubble series marker.

C#
public double? MinSize { get; set; }

Specifies the behavior for handling missing values in the series.

C#
public ChartSeriesMissingValues? MissingValues { get; set; }

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

C#
public string Name { get; set; }

specifies the ratio top-base/bottom-base of the whole chart. neckRatio set to three means the top base is three times smaller than the bottom base.

C#
public double? NeckRatio { get; set; }

The color to use for bar, column or waterfall series with negative values. Accepts a valid CSS color string, including hex and rgb.

C#
public string NegativeColor { get; set; }

The options for displaying the chart negative bubble values.

C#
public ChartSeriesNegativeValuesSettings<T> NegativeValues { get; }

The series notes configuration.

C#
public ChartSeriesNotesSettings<T> Notes { get; }

The data item field which contains the series note text.

C#
public string NoteTextField { get; set; }

The series opacity. By default the series are opaque.

C#
public double? Opacity { get; set; }

The data field containing the open value.

C#
public string OpenField { get; set; }

The chart series outliers configuration. Applies to mild outliers. Also check series.extremes.

C#
public ChartSeriesOutliersSettings<T> Outliers { get; }

The data item field which contains the series outliers value.

C#
public string OutliersField { get; set; }

The chart series overlay options.

C#
public ChartSeriesOverlaySettings<T> Overlay { get; }

The padding around the chart (equal on all sides).

C#
public double? Padding { get; set; }

The configuration options of the series pattern.

C#
public ChartSeriesPatternSettings<T> Pattern { get; }

The data item field which contains the series pattern configuration for individual chart segments.

C#
public string PatternField { get; set; }

The data item field which contains the series q1 value. This configuration is available only for box plot charts.

C#
public string Q1Field { get; set; }

The data item field which contains the series q3 value. This configuration is available only for box plot charts.

C#
public string Q3Field { get; set; }

The space in pixels between the different segments of the funnel and pyramid charts.

C#
public double? SegmentSpacing { get; set; }

The or radius of the chart donut series in pixels. If not set, the available space is split evenly between the series.

C#
public double? Size { get; set; }

The data field containing the bubble size value.

C#
public string SizeField { get; set; }

The distance between series points within a category. Expressed as a percentage of the bar width.See the related gap setting.

C#
public double? Spacing { get; set; }

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

C#
public ChartSeriesStackSettings<T> Stack { get; }

The start angle (degrees) of the first donut or pie segment.Angles increase clockwise and zero is to the left. Negative values are acceptable.

C#
public double? StartAngle { get; set; }

Specifies the preferred rendering style.

C#
public ChartSeriesStyle? Style { get; set; }

The data item field which contains the summary type for waterfall series. Summary columns are optional and can be one of two types: "runningTotal" - Displays the sum of all items since the last "runningTotal" point. or "total" - Displays the sum of all previous items..

C#
public string SummaryField { get; set; }

The configuration options of the target

C#
public ChartSeriesTargetSettings<T> Target { get; }

The data item field containing the target value.

C#
public string TargetField { get; set; }

The data item field which contains the series to value.

C#
public string ToField { get; set; }

The chart series tooltip configuration options.

C#
public ChartSeriesTooltipSettings<T> Tooltip { get; }

The trendline configuration options.

C#
public ChartSeriesTrendlineSettings<T> Trendline { get; }

Gets or sets the series type.

C#
public string Type { get; set; }

The data item field which contains the series upper value.

C#
public string UpperField { get; set; }

Sets the visible property of a chart series

C#
public bool? Visible { get; set; }

A value indicating whether to show the point category name (for funnel, pyramid, donut and pie series) or series name (for other available series types) in the legend.

C#
public bool? VisibleInLegend { get; set; }

The data item field which indicates whether to show the point category name in the legend.

C#
public string VisibleInLegendField { get; set; }

A function that can be used to create a custom visual for the points. Applicable for bar, column, pie, donut, funnel, pyramid, line, scatterLine, rangeBar, rangeColumn and waterfall series. The available argument fields are: rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the point options.; createVisual - a function that can be used to get the default visual.; category - the point category.; dataItem - the point dataItem.; value - the point value.; stackValue - the cumulative point value on the stack. Available only for stackable series.; sender - the chart instance.; series - the point series.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series.; total - the sum of all previous series values. Available for waterfall series.; radius - the segment radius. Available for donut and pie series.; innerRadius - the segment inner radius. Available for donut series.; startAngle - the segment start angle. Available for donut and pie series.; endAngle - the segment end angle. Available for donut and pie series.; center - the segment center point. Available for donut and pie series. or points - the segment points. Available for funnel, pyramid, line and scatterLine series..

C#
public ClientHandlerDescriptor Visual { get; set; }

The chart series whiskers configuration.

C#
public ChartSeriesWhiskersSettings<T> Whiskers { get; }

The line width.

C#
public double? Width { get; set; }

The name of the X axis to use.For polar series the xAxis range is expressed in degrees.

C#
public string XAxis { get; set; }

The data item field which contains the series.errorBars xAxis high value.

C#
public string XErrorHighField { get; set; }

The data item field which contains the series.errorBars xAxis low value.

C#
public string XErrorLowField { get; set; }

The data item field containing the X value.

C#
public string XField { get; set; }

The name of the Y axis to use.Available for bubble, scatter, scatterLine and polar series.

C#
public string YAxis { get; set; }

The data item field which contains the series.errorBars yAxis high value.

C#
public string YErrorHighField { get; set; }

The data item field which contains the series.errorBars yAxis low value.

C#
public string YErrorLowField { get; set; }

The data item field containing the Y value.

C#
public string YField { get; set; }

An optional Z-index that can be used to change the default stacking order of 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.

C#
public double? ZIndex { get; set; }

Methods

Serializes the settings to a Dictionary.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>