Class ChartSeries
Options to configure the Series of the chart
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
ChartSeries
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartSeries : SfDataBoundComponent
Constructors
ChartSeries()
Declaration
ChartSeries(SfChart)
Declaration
public ChartSeries(SfChart chart)
Parameters
Type |
Name |
Description |
SfChart |
chart |
|
Properties
Animation
Declaration
public ChartSeriesAnimation Animation { get; set; }
Property Value
BearFillColor
Specifies BearFillColor for candle series
Declaration
public string BearFillColor { get; set; }
Property Value
Type |
Description |
System.String |
|
BinInterval
Specifies the BinInterval for Histogram series
Declaration
public double BinInterval { get; set; }
Property Value
Type |
Description |
System.Double |
|
Border
Defines the border of the rectangle shaped series
Declaration
public ChartSeriesBorder Border { get; set; }
Property Value
BoxPlotMode
Declaration
public BoxPlotMode BoxPlotMode { get; set; }
Property Value
BullFillColor
Specifies the BullFillColor for candle series
Declaration
public string BullFillColor { get; set; }
Property Value
Type |
Description |
System.String |
|
CardinalSplineTension
Specifies the CardinalSplineTension for spline series
Declaration
public double CardinalSplineTension { get; set; }
Property Value
Type |
Description |
System.Double |
|
ChartDataEditSettings
Declaration
public ChartDataEditSettings ChartDataEditSettings { get; set; }
Property Value
ChildContent
Gets and set the content of the component
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment |
|
Close
The DataSource field that contains the close value for financial type series.
Declaration
public string Close { get; set; }
Property Value
Type |
Description |
System.String |
|
ColumnSpacing
Defines the space between adjacent series for the rectangle shaped series
Declaration
public double ColumnSpacing { get; set; }
Property Value
Type |
Description |
System.Double |
|
ColumnWidth
Specifies the column width of the rectangle typed series
Declaration
public double ColumnWidth { get; set; }
Property Value
Type |
Description |
System.Double |
|
Connector
Specifies the customization option for the connector lines
Declaration
public ChartSeriesConnector Connector { get; set; }
Property Value
CornerRadius
Specifies the corner radius of the rectangle shaped series
Declaration
public ChartCornerRadius CornerRadius { get; set; }
Property Value
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 chart. It can be an array of JSON objects or an instance of DataManager.
Declaration
public IEnumerable<object> DataSource { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Object> |
|
DrawType
Type of series to be drawn in radar or polar series. They are
'Line'
'Column'
'Area'
'Scatter'
'Spline'
'StackingColumn'
'StackingArea'
'RangeColumn'
'SplineArea'
Declaration
public ChartDrawType DrawType { get; set; }
Property Value
EmptyPointSettings
Specifies the customization of the empty point settins for the series
Declaration
public ChartEmptyPointSettings EmptyPointSettings { get; set; }
Property Value
EnableComplexProperty
This property used to improve chart performance via data mapping for series dataSource.
Declaration
public bool EnableComplexProperty { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableSolidCandles
Enables SolidCandles for candle series
Declaration
public bool EnableSolidCandles { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
If set true, the Tooltip for series will be visible.
Declaration
public bool EnableTooltip { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ErrorBar
Declaration
public ChartErrorBarSettings ErrorBar { get; set; }
Property Value
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 for financial type series.
Declaration
public string High { get; set; }
Property Value
Type |
Description |
System.String |
|
HighlightStyle
Specfies the class name when the series is highlighted
Declaration
public string HighlightStyle { get; set; }
Property Value
Type |
Description |
System.String |
|
IntermediateSumIndexes for waterfall series
Declaration
public double[] IntermediateSumIndexes { get; set; }
Property Value
Type |
Description |
System.Double[] |
|
IsClosed
Enables the polar line based series to be closed
Declaration
public bool IsClosed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LegendShape
Specifies the legend shape of the series
Declaration
public LegendShape LegendShape { get; set; }
Property Value
Low
The DataSource field that contains the low value for financial type series.
Declaration
public string Low { get; set; }
Property Value
Type |
Description |
System.String |
|
Marker
Specifies the customization of the marker of the series
Declaration
public ChartMarker Marker { get; set; }
Property Value
MaxRadius
Denoted the maximum radius for bubble series
Declaration
public double MaxRadius { get; set; }
Property Value
Type |
Description |
System.Double |
|
MinRadius
Denoted the minimum radius for bubble series
Declaration
public double MinRadius { get; set; }
Property Value
Type |
Description |
System.Double |
|
Name
Specifies the name of the series
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
NegativeFillColor
Specifies the NegativeFillColor for waterfall series
Declaration
public string NegativeFillColor { get; set; }
Property Value
Type |
Description |
System.String |
|
NonHighlightStyle
Specfies the class name when the series is non-highlighted
Declaration
public string NonHighlightStyle { get; set; }
Property Value
Type |
Description |
System.String |
|
Opacity
Defines the opacity of the series fill.
Declaration
public double Opacity { get; set; }
Property Value
Type |
Description |
System.Double |
|
Open
The DataSource field that contains the open value for financial type series.
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 SfDataManager
.
Declaration
public Query Query { get; set; }
Property Value
SegmentAxis
Specifies in which axis segment will be done
Declaration
public Segment SegmentAxis { get; set; }
Property Value
Segments
Specified the segements of the multicolor series
Declaration
public List<ChartSegment> Segments { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<ChartSegment> |
|
SelectionStyle
Spectifies class name when the series is selected
Declaration
public string SelectionStyle { get; set; }
Property Value
Type |
Description |
System.String |
|
ShowMean
Declaration
public bool ShowMean { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowNormalDistribution
Specifies the ShowNormalDistribution for Histogram series
Declaration
public bool ShowNormalDistribution { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Size
The DataSource field that contains the size value for the bubble series
Declaration
public string Size { get; set; }
Property Value
Type |
Description |
System.String |
|
SplineType
Specifies the splineType for spline series
Declaration
public SplineType SplineType { get; set; }
Property Value
StackingGroup
Based on this value stacking series are grouped together
Declaration
public string StackingGroup { get; set; }
Property Value
Type |
Description |
System.String |
|
SumIndexes
Specifies the sumIndexes for waterfall series
Declaration
public double[] SumIndexes { get; set; }
Property Value
Type |
Description |
System.Double[] |
|
SummaryFillColor
Specifies the summaryFillColor for waterfall series
Declaration
public string SummaryFillColor { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the format of the tooltip for the series
Declaration
public string TooltipFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the intermediateSumIndexes for waterfall series
The provided value will be considered as a Tooltip Mapping name
Declaration
public string TooltipMappingName { get; set; }
Property Value
Type |
Description |
System.String |
|
Trendlines
Specifies the trendlines for the series
Declaration
public List<ChartTrendline> Trendlines { get; set; }
Property Value
Type
Specifies the type of series
The type of the series are
Line
Column
Area
Bar
Histogram
StackingColumn
StackingArea
StackingBar
StepLine
StepArea
Scatter
Spline
StackingColumn100
StackingBar100
StackingArea100
RangeColumn
Hilo
HiloOpenClose
Waterfall
RangeArea
Bubble
Candle
Polar
Radar
BoxAndWhisker
Pareto
Declaration
public ChartSeriesType Type { get; set; }
Property Value
UnSelectedStyle
Spectifies class name when the series is deselected
Declaration
public string UnSelectedStyle { get; set; }
Property Value
Type |
Description |
System.String |
|
Visible
Specifies the visibility of series.
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Volume
The DataSource field that contains the volume value for financial type series.
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 |
|
ZOrder
Specifies the z order of the series.
Declaration
public int ZOrder { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides