ChartSeries<T>
Kendo UI ChartSeries class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartSeries<T> where T : class
Inheritance: objectChartSeries<T>
Inherited Members
Constructors
public ChartSeries()
Properties
Specifies the preferred series aggregate.
public ChartSeriesAggregate? Aggregate { get; set; }
AggregateHandler member.
public ClientHandlerDescriptor AggregateHandler { get; set; }
Aggregates member.
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.
public bool? AutoFit { get; set; }
The border of the chart series.
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.
public string CategoryAxis { get; set; }
The data item field which contains the category name or date.
public string CategoryField { get; set; }
The data field containing the close value.
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..
public string Color { get; set; }
The data item field which contains the series color.
public string ColorField { get; set; }
ColorHandler member.
public ClientHandlerDescriptor ColorHandler { get; set; }
The label connectors options.
public ChartSeriesConnectorsSettings<T> Connectors { get; }
The data item field containing the current value.
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.
public ChartDashType? DashType { get; set; }
Data member.
public IEnumerable Data { get; set; }
The series color when the open value is greater than the close value.
public string DownColor { get; set; }
The data field containing the color applied when the open value is greater than the close value.
public string DownColorField { get; set; }
DownColorHandler member.
public ClientHandlerDescriptor DownColorHandler { get; set; }
The data field which contains the value to use to drill down into detailed data for the point.
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.
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.
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.
public bool? DynamicSlope { get; set; }
The error bars of the chart series.
public ChartSeriesErrorBarsSettings<T> ErrorBars { get; }
The data item field which contains the series.errorBars high value.
public string ErrorHighField { get; set; }
The data item field which contains the series.errorBars low value.
public string ErrorLowField { get; set; }
The data item field which contains a boolean value indicating whether the sector is exploded.
public string ExplodeField { get; set; }
The chart series extremes configuration. Applies to extreme outliers. Also check series.outliers.
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.
public string Field { get; set; }
The focus highlight configuration options.
public ChartSeriesFocusHighlightSettings<T> FocusHighlight { get; }
The data item field which contains the series from value.
public string FromField { get; set; }
The distance between categories expressed as a percentage of the bar width.See the related spacing setting.
public double? Gap { get; set; }
The chart series highlighting configuration options.
public ChartSeriesHighlightSettings<T> Highlight { get; }
The chart series label configuration.
public ChartSeriesLabelsSettings<T> Labels { get; }
The configuration of the Chart legend item for this series.
public ChartSeriesLegendItemSettings<T> LegendItem { get; }
The chart line configuration options.
public ChartSeriesLineSettings<T> Line { get; }
The data item field which contains the series lower value.
public string LowerField { get; set; }
The margin around each donut series (ring). A numeric value will set all margins.
public double? Margin { get; set; }
The chart series marker configuration.
public ChartSeriesMarkersSettings<T> Markers { get; }
The maximum size of the chart bubble series marker.
public double? MaxSize { get; set; }
The configuration of the Box Plot mean value indicator (line).
public ChartSeriesMeanSettings<T> Mean { get; }
The data item field which contains the series mean value.
public string MeanField { get; set; }
The configuration of the Box Plot median value indicator (line).
public ChartSeriesMedianSettings<T> Median { get; }
The data item field which contains the series median value.
public string MedianField { get; set; }
The minimum size of the chart bubble series marker.
public double? MinSize { get; set; }
Specifies the behavior for handling missing values in the series.
public ChartSeriesMissingValues? MissingValues { get; set; }
The name of the chart series which is visible in the legend.
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.
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.
public string NegativeColor { get; set; }
The options for displaying the chart negative bubble values.
public ChartSeriesNegativeValuesSettings<T> NegativeValues { get; }
The series notes configuration.
public ChartSeriesNotesSettings<T> Notes { get; }
The data item field which contains the series note text.
public string NoteTextField { get; set; }
The series opacity. By default the series are opaque.
public double? Opacity { get; set; }
The chart series outliers configuration. Applies to mild outliers. Also check series.extremes.
public ChartSeriesOutliersSettings<T> Outliers { get; }
The data item field which contains the series outliers value.
public string OutliersField { get; set; }
The chart series overlay options.
public ChartSeriesOverlaySettings<T> Overlay { get; }
The padding around the chart (equal on all sides).
public double? Padding { get; set; }
The configuration options of the series pattern.
public ChartSeriesPatternSettings<T> Pattern { get; }
The data item field which contains the series pattern configuration for individual chart segments.
public string PatternField { get; set; }
The data item field which contains the series q1 value. This configuration is available only for box plot charts.
public string Q1Field { get; set; }
The data item field which contains the series q3 value. This configuration is available only for box plot charts.
public string Q3Field { get; set; }
The space in pixels between the different segments of the funnel and pyramid charts.
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.
public double? Size { get; set; }
The data field containing the bubble size value.
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.
public double? Spacing { get; set; }
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
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.
public double? StartAngle { get; set; }
Specifies the preferred rendering style.
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..
public string SummaryField { get; set; }
The configuration options of the target
public ChartSeriesTargetSettings<T> Target { get; }
The data item field containing the target value.
public string TargetField { get; set; }
The data item field which contains the series to value.
public string ToField { get; set; }
The chart series tooltip configuration options.
public ChartSeriesTooltipSettings<T> Tooltip { get; }
The trendline configuration options.
public ChartSeriesTrendlineSettings<T> Trendline { get; }
The data item field which contains the series upper value.
public string UpperField { 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.
public bool? VisibleInLegend { get; set; }
The data item field which indicates whether to show the point category name in the legend.
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..
public ClientHandlerDescriptor Visual { get; set; }
The chart series whiskers configuration.
public ChartSeriesWhiskersSettings<T> Whiskers { get; }
The name of the X axis to use.For polar series the xAxis range is expressed in degrees.
public string XAxis { get; set; }
The data item field which contains the series.errorBars xAxis high value.
public string XErrorHighField { get; set; }
The data item field which contains the series.errorBars xAxis low value.
public string XErrorLowField { get; set; }
The name of the Y axis to use.Available for bubble, scatter, scatterLine and polar series.
public string YAxis { get; set; }
The data item field which contains the series.errorBars yAxis high value.
public string YErrorHighField { get; set; }
The data item field which contains the series.errorBars yAxis low value.
public string YErrorLowField { 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.
public double? ZIndex { get; set; }
Methods
Serializes the settings to a Dictionary.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()