BarChart data.

interface BarChartData {
    datasets: BarChartDataSet[];
    labels?: string[] | DateTime<boolean>[];
    style?: BarChartStyle;
}

Hierarchy

  • BaseSimpleChartData
    • BarChartData

Properties

datasets: BarChartDataSet[]

The data sets of the bar chart.

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.

The style of the bar chart.