Add label for first dataset in progress-bar example (#5625)

While the second dataset already has a label ("My Second dataset") the first dataset showed "undefined" as a label. Added a label to the first dataset object.
This commit is contained in:
Bart Deslagmulder 2018-07-09 20:27:43 +02:00 committed by Simon Brunel
parent 0ddd0ee16b
commit 858d86eebb

View File

@ -28,6 +28,7 @@
data: {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [{
label: 'My First dataset',
fill: false,
borderColor: window.chartColors.red,
backgroundColor: window.chartColors.red,