BlazorBootstrapChartTData Class

The abstract base class for all chart components.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public abstract class BlazorBootstrapChart<TData> : BlazorBootstrapComponentBase
Inheritance
Object    ComponentBase    BlazorBootstrapComponentBase    BlazorBootstrapChartTData
Derived
More

Type Parameters

TData
The type of data that is placed in a single point; this can be a Double, Point or any other type, which is determined by the type implementing this abstract class.

Constructors

BlazorBootstrapChartTDataInitializes a new instance of the BlazorBootstrapChartTData class

Properties

Height Gets or sets chart container height.
JsRuntime Dependency injected Javascript Runtime
Width Get or sets chart container width.

Methods

AddDataAsync(ChartDataTData, String, ChartDatasetDataTData) Adds data to the chart.
AddDataAsync(ChartDataTData, String, IReadOnlyCollectionChartDatasetDataTData) Adds data to the chart.
AddDatasetAsync Adds data to the chart.
BuildRenderTree Renders the component to the supplied RenderTreeBuilder.
(Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder))
InitializeAsync Initializes the Chart.
UpdateAsync Update chart by reapplying all chart data and options. If animation is enabled, this will animate the datasets from scratch.
UpdateValuesAsync Update only data labels and values. If animation is enabled, this will animate the data points. Changes to the options will not be applied.

See Also