# 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:3808 (opens new window)


# labels

Optional labels: TLabel[]

# Defined in

types/index.d.ts:3805 (opens new window)


# xLabels

Optional xLabels: TLabel[]

# Defined in

types/index.d.ts:3806 (opens new window)


# yLabels

Optional yLabels: TLabel[]

# Defined in

types/index.d.ts:3807 (opens new window)