Interface: ChartData<TType, TData, TLabel>

TData represents the data point type. If unspecified, a default is provided based on the chart type. TLabel represents the label type

Type parameters

NameType
TTypeextends ChartType = ChartType
TDataDefaultDataPoint<TType>
TLabelunknown

Properties

datasets

datasets: ChartDataset<TType, TData>[]

Defined in

index.esm.d.ts:3678ChartData - 图1 (opens new window)


labels

Optional labels: TLabel[]

Defined in

index.esm.d.ts:3677ChartData - 图2 (opens new window)