Ensure all samples use correct scale options (#7147)

This commit is contained in:
Evert Timberg 2020-02-22 14:33:39 -05:00 committed by GitHub
parent d801e56106
commit fa174551c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View File

@ -82,20 +82,20 @@
intersect: true
},
scales: {
xAxes: [{
x: {
display: true,
scaleLabel: {
display: true,
labelString: 'Month'
}
}],
yAxes: [{
},
y: {
display: true,
scaleLabel: {
display: true,
labelString: 'Value'
}
}]
}
}
}
};

View File

@ -76,7 +76,7 @@
intersect: true
},
scales: {
xAxes: [{
x: {
display: true,
scaleLabel: {
display: true,
@ -88,8 +88,8 @@
fontStyle: 'bold',
padding: {top: 20, left: 0, right: 0, bottom: 0}
}
}],
yAxes: [{
},
y: {
display: true,
scaleLabel: {
display: true,
@ -101,7 +101,7 @@
fontStyle: 'normal',
padding: {top: 30, left: 0, right: 0, bottom: 0}
}
}]
}
}
}
};

View File

@ -44,7 +44,7 @@
text: 'Grid Line Settings'
},
scales: {
yAxes: [{
y: {
gridLines: {
drawBorder: false,
color: function(context) {
@ -57,7 +57,7 @@
return '#000000';
},
},
}]
}
}
}
};