mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Ensure all samples use correct scale options (#7147)
This commit is contained in:
parent
d801e56106
commit
fa174551c4
@ -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'
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -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}
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -44,7 +44,7 @@
|
||||
text: 'Grid Line Settings'
|
||||
},
|
||||
scales: {
|
||||
yAxes: [{
|
||||
y: {
|
||||
gridLines: {
|
||||
drawBorder: false,
|
||||
color: function(context) {
|
||||
@ -57,7 +57,7 @@
|
||||
return '#000000';
|
||||
},
|
||||
},
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user