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 StockChartSeries

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

Syntax

public class StockChartSeries : ChartSeriesBase, IDisposable

Constructors

StockChartSeries()

Declaration
public StockChartSeries()

Properties

Aggregate

The aggregate function to apply for date series.This function is used when a category (an year, month, etc.) contains two or more points. The function return value is displayed instead of the individual points.The supported values are: "avg" - the average of all values for the date period.; "count" - the number of values for the date period.; "max" - the highest value for the date period.; "min" - the lowest value for the date period.; "sum" - the sum of all values for the date period. Defaults to 0 if no data points are defined.; "sumOrNull" - the sum of all values for the date period. Defaults to null if no data points are defined.; "first" - the first value; function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item. or object - (compound aggregate) Applicable to "candlestick" and ohlc "series". Specifies the aggregate for each data item field..

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

Axis

The name of the value axis to use.** Applicable to area, column, line, ohlc and candlestick series **

Declaration
public string Axis { 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.** Available for candlestick and ohlc series only **

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 field containing the point color.** Applicable for column, candlestick and ohlc series. **

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

DashType

The series line dash type.** Applicable only to line series **

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.** Available for candlestick series only **

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.** Available for candlestick series only **

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

Field

The data field containing the series value.

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

Gap

The distance between category clusters.** Applicable for column, candlestick and ohlc series. **

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

HighField

The data field containing the high value.** Available for candlestick and ohlc series only **

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

LowField

The data field containing the low value.** Available for candlestick and ohlc series **

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

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 series name visible in the legend.

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

Opacity

The series opacity.

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

OpenField

The data field containing the open value.** Available for candlestick and ohlc series **

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

Spacing

Space between points as proportion of the point width.Available for column, candlestick and ohlc series.

Declaration
public Nullable<double> Spacing { 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<StockChartSeriesType> Type { get; set; }
Property Value
System.Nullable<StockChartSeriesType>

Width

The line width.** Applicable for area and line series. **

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

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.