Class
ChartSeriesBase

Definition

Namespace:Telerik.Generated.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public abstract class ChartSeriesBase : DataVizCollectionItemComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseDataVizChildComponentDataVizCollectionItemComponentChartSeriesBase

Derived Classes: ChartSeriesStockChartSeries

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members DataVizChildComponent.OnInitialized()DataVizChildComponent.Dispose()DataVizChildComponent.Dispose(bool)ComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

ChartSeriesBase()

Declaration

cs-api-definition
protected ChartSeriesBase()

Properties

Data

Provides the data collection that populates the chart series. Accepts any enumerable collection of objects (List, Array, IEnumerable). Each object represents one data point with properties mapped via Field parameters. Example: List<SalesData> where SalesData has Amount, Date, Category properties. Use Field, CategoryField to map object properties to chart values.

Declaration

cs-api-definition
[Parameter]
public IEnumerable<object> Data { get; set; }

Property Value

IEnumerable<object>