[]
        
(Showing Draft Content)

C1.Blazor.Chart.Series

Series Class

Represents a series of data points to display in the chart.

Namespace: C1.Blazor.Chart
Assembly: C1.Blazor.Chart.dll
Syntax
public class Series : SeriesBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

Name Description
Series()

Creates an instance of series class.

Properties

Name Description
ActualBinding

Gets actual binding.

ActualBindingX

Gets actual x-binding.

ActualItemsSource

Gets actual items source.

AltStyle

Gets or sets the series alternatve style.

AxisX

Gets or sets the name of x-axis for the series.

AxisY

Gets or sets the name of y-axis for the series.

Binding

Gets or sets the name of the property that contains Y values for the series.

BindingX

Gets or sets the name of the property that contains X values for the series.

Chart

Gets the parent chart.

DataLabel

Gets or sets the series data label.

HasCustomSymbol

Whether the custom symbol rendering is used.

ItemsSource

Gets or sets the collection of objects that contains the series data.

Style

Gets or sets the series style.

SymbolRendered

Fires after rendering symbol.

SymbolRendering

Fires before rendering symbol.

Tooltip

Gets or sets the tooltip template for the series.

Methods

Name Description
ClearData()

Removes all point data from the series added with SetData.

Dispose()

Releases resources.

Dispose(bool)
~Series()

Releases resources.

GetDataType(int)

Gets the data type.

GetItem(int)

Gets the data item.

GetStyle(string)

Gets the style by name.

GetValues(int)

Gets the point data array for the specified coordinate dimension.

Invalidate()

Invalidates the series.

LoadBoundData()

Forces bound data to be loaded into internal chart arrays.

OnDataSourceChanged()

Called when data source was changed.

OnRendered(IRenderEngine)

Called after series was rendered.

OnRendering(IRenderEngine)

Called when series is rendering.

OnSymbolRendered(IRenderEngine, int, double, double)

Called after symbol was rendered.

OnSymbolRendering(IRenderEngine, int, double, double)

Called when symbol is rendering.

OnVisibilityChanged()

Called when visibility changes.

Rebind()

Forces all data in ItemsSource to be evaluated and redraw the chart.

SetData(double[], params double[][])

Sets the point data to be charted.

SetStyle(_Style, string)

Sets the series style.