Class StockSeriesModel
Interface for a class StockSeries
Inheritance
Implements
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockSeriesModel : Object, IEquatable<StockSeriesModel>
Constructors
StockSeriesModel()
Declaration
public StockSeriesModel()
Properties
Animation
Options to customizing animation for the series.
Declaration
public AnimationModel Animation { get; set; }
Property Value
Type | Description |
---|---|
AnimationModel |
BearFillColor
This property is used in stock charts to visualize the price movements in stock. It defines the color of the candle/point, when the opening price is less than the closing price.
Declaration
public string BearFillColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Border
Options to customizing the border of the series. This is applicable only for Column
and Bar
type series.
Declaration
public StockChartBorderModel Border { get; set; }
Property Value
Type | Description |
---|---|
StockChartBorderModel |
BullFillColor
This property is used in financial charts to visualize the price movements in stock. It defines the color of the candle/point, when the opening price is higher than the closing price.
Declaration
public string BullFillColor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CardinalSplineTension
It defines tension of cardinal spline types
Declaration
public double CardinalSplineTension { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Close
The DataSource field that contains the close value of y It is applicable for series and technical indicators
Declaration
public string Close { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ColumnSpacing
To render the column series points with particular column spacing. It takes value from 0 - 1.
Declaration
public double ColumnSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ColumnWidth
To render the column series points with particular column width. If the series type is histogram the default value is 1 otherwise 0.7.
Declaration
public double ColumnWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
CornerRadius
To render the column series points with particular rounded corner.
Declaration
public CornerRadiusModel CornerRadius { get; set; }
Property Value
Type | Description |
---|---|
CornerRadiusModel |
DashArray
Defines the pattern of dashes and gaps to stroke the lines in Line
type series.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DataSource
Specifies the DataSource for the series. It can be an array of JSON objects or an instance of DataManager.
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
EmptyPointSettings
options to customize the empty points in series
Declaration
public EmptyPointSettingsModel EmptyPointSettings { get; set; }
Property Value
Type | Description |
---|---|
EmptyPointSettingsModel |
EnableSolidCandles
This property is applicable for candle series. It enables/disables to visually compare the current values with the previous values in stock.
Declaration
public bool EnableSolidCandles { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableTooltip
If set true, the Tooltip for series will be visible.
Declaration
public bool EnableTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Fill
The fill color for the series that accepts value in hex and rgba as a valid CSS color string. It also represents the color of the signal lines in technical indicators. For technical indicators, the default value is 'blue' and for series, it has null.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String |
High
The DataSource field that contains the high value of y It is applicable for series and technical indicators
Declaration
public string High { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Low
The DataSource field that contains the low value of y It is applicable for series and technical indicators
Declaration
public string Low { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Marker
Options for displaying and customizing markers for individual points in a series.
Declaration
public MarkerSettingsModel Marker { get; set; }
Property Value
Type | Description |
---|---|
MarkerSettingsModel |
Name
The name of the series visible in legend.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Opacity
The opacity of the series.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Open
The DataSource field that contains the open value of y It is applicable for series and technical indicators
Declaration
public string Open { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PointColorMapping
The DataSource field that contains the color value of point It is applicable for series
Declaration
public string PointColorMapping { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Query
Specifies query to select data from DataSource. This property is applicable only when the DataSource is ej.DataManager
.
Declaration
public object Query { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
SelectionStyle
Custom style for the selected series or points.
Declaration
public string SelectionStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TooltipMappingName
The provided value will be considered as a Tooltip name
Declaration
public string TooltipMappingName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Trendlines
Defines the collection of trendlines that are used to predict the trend
Declaration
public List<TrendlineModel> Trendlines { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TrendlineModel> |
Type
The type of the series are Line Column Area Spline Hilo HiloOpenClose Candle
Declaration
public ChartSeriesType Type { get; set; }
Property Value
Type | Description |
---|---|
ChartSeriesType |
Visible
Specifies the visibility of series.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Volume
Defines the data source field that contains the volume value in candle charts It is applicable for financial series and technical indicators
Declaration
public string Volume { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Width
The stroke width for the series that is applicable only for Line
type series.
It also represents the stroke width of the signal lines in technical indicators.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
XAxisName
The name of the horizontal axis associated with the series. It requires axes
of the chart.
It is applicable for series and technical indicators
Declaration
public string XAxisName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
XName
The DataSource field that contains the x value. It is applicable for series and technical indicators
Declaration
public string XName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
YAxisName
The name of the vertical axis associated with the series. It requires axes
of the chart.
It is applicable for series and technical indicators
Declaration
public string YAxisName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
YName
The DataSource field that contains the y value.
Declaration
public string YName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(StockSeriesModel)
Returns a boolean by comparing with stockSeriesModel
Declaration
public bool Equals(StockSeriesModel stockSeriesModel)
Parameters
Type | Name | Description |
---|---|---|
StockSeriesModel | stockSeriesModel |
Returns
Type | Description |
---|---|
System.Boolean |