LineChart data.

interface LineChartData {
    datasets: LineChartDataSet[];
    labels?: string[] | DateTime<boolean>[];
    style?: LineChartStyle;
}

Hierarchy (view full)

Properties

datasets: LineChartDataSet[]
labels?: string[] | DateTime<boolean>[]

Description

labels is an array of strings that represent the labels of the chart, which are displayed on the index-axis. It is optional. If not provided, the labels will be generated automatically.