Skip to content

Commit

Permalink
Add label for first dataset in progress-bar example (chartjs#5625)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bartdeslagmulder authored and simonbrunel committed Jul 9, 2018
1 parent d4c7d81 commit 8e170f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/advanced/progress-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8e170f3

Please sign in to comment.