Defines the data structure for cartesian charts (bar, line).
labels
datasets
ChartDataset
One series per entry, drawn together against the same axes.
The category axis, one entry per position. Every dataset is read against these.
Defines the data structure for cartesian charts (bar, line).
labels: An array of strings for the x-axis categories.datasets: An array ofChartDatasetobjects, each representing a series.