ClassChartBase<TSeries>
Base chart component.
Definition
Namespace:Telerik.Generated.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TSeries
Syntax:
public abstract class ChartBase<TSeries> : DataVizComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable where TSeries : ChartSeriesBase
Inheritance: objectComponentBaseBaseComponentDataVizComponentChartBase<TSeries>
Derived Classes:
Implements:
Inherited Members
Constructors
ChartBase()
Declaration
protected ChartBase()
Properties
Id
Sets a unique identifier for the chart component. Use this to associate the chart with related components like TelerikChartBreadcrumb. Essential for drill-down functionality and connecting multiple chart-related components. Must be unique across all chart instances on the same page.
OnAxisLabelClick
Fires when users click on axis labels (category or value axis labels). Enable interactive axis behavior for filtering, drilling, or navigation scenarios. Provides access to the clicked label text, axis information, and data context. Commonly used to filter data based on category or implement axis-based navigation.
Declaration
[Parameter]
public EventCallback<ChartAxisLabelClickEventArgs> OnAxisLabelClick { get; set; }
Property Value
OnLegendItemClick
Fires when users click on legend items to toggle series visibility or perform custom actions. Enable legend-based chart interaction for showing/hiding data series. Provides access to the legend item details and associated series information. Use this to implement custom legend behavior beyond the default visibility toggle.
Declaration
[Parameter]
public EventCallback<ChartLegendItemClickEventArgs> OnLegendItemClick { get; set; }
Property Value
OnSeriesClick
Fires when users click on any data point, column, line, or chart element in the series. Enable interactive behavior for chart data exploration and selection. Provides access to the clicked data item, series information, and chart coordinates. Commonly used for navigation, showing details, or updating related components.
Declaration
[Parameter]
public EventCallback<ChartSeriesClickEventArgs> OnSeriesClick { get; set; }
Property Value
Methods
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