skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ChartSeries

Inheritance
System.Object
Telerik.Generated.Blazor.Components.DataVizChildComponent
Telerik.Generated.Blazor.Components.DataVizCollectionItemComponent
Telerik.Generated.Blazor.Components.ChartSeriesBase
ChartSeries
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll

Syntax

public class ChartSeries : ChartSeriesBase, IDisposable

Constructors

ChartSeries()

Declaration
public ChartSeries()

Properties

Aggregate

Specifies the preferred series aggregate.

Declaration
public Nullable<ChartSeriesAggregate> Aggregate { get; set; }
Property Value
System.Nullable<ChartSeriesAggregate>

AutoFit

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

Declaration
public Nullable<bool> AutoFit { get; set; }
Property Value
System.Nullable<System.Boolean>

Axis

The name of the value axis to use.

Declaration
public string Axis { get; set; }
Property Value
System.String

CategoryAxis

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

Declaration
public string CategoryAxis { get; set; }
Property Value
System.String

CategoryField

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

Declaration
public string CategoryField { get; set; }
Property Value
System.String

ChildContent

Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment

CloseField

The data field containing the close value.

Declaration
public string CloseField { get; set; }
Property Value
System.String

Color

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..

Declaration
public string Color { get; set; }
Property Value
System.String

ColorField

The data item field which contains the series color.

Declaration
public string ColorField { get; set; }
Property Value
System.String

DashType

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.

Declaration
public Nullable<DashType> DashType { get; set; }
Property Value
System.Nullable<DashType>

DownColor

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

Declaration
public string DownColor { get; set; }
Property Value
System.String

DownColorField

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

Declaration
public string DownColorField { get; set; }
Property Value
System.String

ExplodeField

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

Declaration
public string ExplodeField { get; set; }
Property Value
System.String

Field

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.

Declaration
public string Field { get; set; }
Property Value
System.String

Gap

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

Declaration
public Nullable<double> Gap { get; set; }
Property Value
System.Nullable<System.Double>

HighField

The data field containing the high value.

Declaration
public string HighField { get; set; }
Property Value
System.String

HoleSize

The diameter of the donut hole in pixels.

Declaration
public Nullable<double> HoleSize { get; set; }
Property Value
System.Nullable<System.Double>

LowField

The data field containing the low value.

Declaration
public string LowField { get; set; }
Property Value
System.String

Margin

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

Declaration
public Nullable<double> Margin { get; set; }
Property Value
System.Nullable<System.Double>

MissingValues

Specifies the behavior for handling missing values in the series.

Declaration
public Nullable<ChartSeriesMissingValues> MissingValues { get; set; }
Property Value
System.Nullable<ChartSeriesMissingValues>

Name

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

Declaration
public string Name { get; set; }
Property Value
System.String

NegativeColor

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

Declaration
public string NegativeColor { get; set; }
Property Value
System.String

Opacity

The series opacity. By default the series are opaque.

Declaration
public Nullable<double> Opacity { get; set; }
Property Value
System.Nullable<System.Double>

OpenField

The data field containing the open value.

Declaration
public string OpenField { get; set; }
Property Value
System.String

Padding

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

Declaration
public Nullable<double> Padding { get; set; }
Property Value
System.Nullable<System.Double>

Size

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

Declaration
public Nullable<double> Size { get; set; }
Property Value
System.Nullable<System.Double>

SizeField

The data field containing the bubble size value.

Declaration
public string SizeField { get; set; }
Property Value
System.String

Spacing

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

Declaration
public Nullable<double> Spacing { get; set; }
Property Value
System.Nullable<System.Double>

StartAngle

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

Declaration
public Nullable<double> StartAngle { get; set; }
Property Value
System.Nullable<System.Double>

Style

Specifies the preferred rendering style.

Declaration
public Nullable<ChartSeriesStyle> Style { get; set; }
Property Value
System.Nullable<ChartSeriesStyle>

Type

The type of the series.

Declaration
public Nullable<ChartSeriesType> Type { get; set; }
Property Value
System.Nullable<ChartSeriesType>

Visible

Sets the visible property of a chart series

Declaration
public Nullable<bool> Visible { get; set; }
Property Value
System.Nullable<System.Boolean>

VisibleInLegend

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

Declaration
public Nullable<bool> VisibleInLegend { get; set; }
Property Value
System.Nullable<System.Boolean>

VisibleInLegendField

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

Declaration
public string VisibleInLegendField { get; set; }
Property Value
System.String

Width

The line width.

Declaration
public Nullable<double> Width { get; set; }
Property Value
System.Nullable<System.Double>

XAxis

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

Declaration
public string XAxis { get; set; }
Property Value
System.String

XField

The data item field containing the X value.

Declaration
public string XField { get; set; }
Property Value
System.String

YAxis

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

Declaration
public string YAxis { get; set; }
Property Value
System.String

YField

The data item field containing the Y value.

Declaration
public string YField { get; set; }
Property Value
System.String

ZIndex

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.

Declaration
public Nullable<double> ZIndex { get; set; }
Property Value
System.Nullable<System.Double>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

Dispose()

Declaration
public override void Dispose()
Overrides
Telerik.Generated.Blazor.Components.DataVizChildComponent.Dispose()

OnAfterRender(Boolean)

Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean firstRender

OnInitialized()

Declaration
protected override void OnInitialized()
Overrides
Telerik.Generated.Blazor.Components.DataVizChildComponent.OnInitialized()

OnParametersSet()

Declaration
protected override void OnParametersSet()

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Client-side Blazor
  • Server-side Blazor
  • Demos
Community
  • Forums
  • Blogs
  • Feedback Portal
Support Resources
  • Demos
  • Knowledge Base
  • Samples Repo
  • Localizations Repo
Sample Applications
  • Dashboard
  • PWA - Stocks
  • PWA - Blazing Coffee Roasters

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.