# 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
Name | Type |
---|---|
TType | extends ChartType = ChartType |
TData | DefaultDataPoint <TType > |
TLabel | unknown |
# Properties
# datasets
• datasets: ChartDataset
<TType
, TData
>[]
# Defined in
types/index.d.ts:3798 (opens new window)
# labels
• Optional
labels: TLabel
[]
# Defined in
types/index.d.ts:3795 (opens new window)
# xLabels
• Optional
xLabels: TLabel
[]
# Defined in
types/index.d.ts:3796 (opens new window)
# yLabels
• Optional
yLabels: TLabel
[]