ClassStockChartSeries
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class StockChartSeries : ChartSeriesBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentDataVizCollectionItemComponentChartSeriesBaseStockChartSeries
Implements:
Inherited Members
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
[Parameter]
public ChartSeriesAggregate? Aggregate { get; set; }
Property Value
Axis
The name of the value axis to use.** Applicable to area, column, line, ohlc and candlestick series **
CategoryField
The data item field which contains the category name or date.
Declaration
[Parameter]
public string CategoryField { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
CloseField
The data field containing the close value.** Available for candlestick and ohlc series only **
Declaration
[Parameter]
public string CloseField { get; set; }
Property Value
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..
ColorField
The data field containing the point color.** Applicable for column, candlestick and ohlc series. **
Declaration
[Parameter]
public string ColorField { get; set; }
Property Value
DashType
The series line dash type.** Applicable only to line series **
Declaration
[Parameter]
public DashType? DashType { get; set; }
Property Value
DownColor
The series color when the open value is greater than the close value.** Available for candlestick series only **
Declaration
[Parameter]
public string DownColor { get; set; }
Property Value
DownColorField
The data field containing the color applied when the open value is greater than the close value.** Available for candlestick series only **
Declaration
[Parameter]
public string DownColorField { get; set; }
Property Value
Field
The data field containing the series value.
Gap
The distance between category clusters.** Applicable for column, candlestick and ohlc series. **
HighField
The data field containing the high value.** Available for candlestick and ohlc series only **
Declaration
[Parameter]
public string HighField { get; set; }
Property Value
LowField
The data field containing the low value.** Available for candlestick and ohlc series **
Declaration
[Parameter]
public string LowField { get; set; }
Property Value
MissingValues
Specifies the behavior for handling missing values in the series.
Declaration
[Parameter]
public ChartSeriesMissingValues? MissingValues { get; set; }
Property Value
Name
The series name visible in the legend.
Opacity
The series opacity.
Declaration
[Parameter]
public double? Opacity { get; set; }
Property Value
OpenField
The data field containing the open value.** Available for candlestick and ohlc series **
Declaration
[Parameter]
public string OpenField { get; set; }
Property Value
Spacing
Space between points as proportion of the point width.Available for column, candlestick and ohlc series.
Declaration
[Parameter]
public double? Spacing { get; set; }
Property Value
Style
Specifies the preferred rendering style.
Declaration
[Parameter]
public ChartSeriesStyle? Style { get; set; }
Property Value
Type
The type of the series.
Declaration
[Parameter]
public StockChartSeriesType? Type { get; set; }
Property Value
Width
The line width.** Applicable for area and line series. **
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
[Parameter]
public double? ZIndex { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides