Feat: force date order in graph
This commit is contained in:
@@ -20,6 +20,19 @@ export default {
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
scales: {
|
||||
xAxes: [{
|
||||
type: 'time',
|
||||
time: {
|
||||
parser: 'MMMM YYYY',
|
||||
},
|
||||
scaleLabel: {
|
||||
display: true,
|
||||
format: 'MMMM YYYY',
|
||||
labelString: 'Date'
|
||||
}
|
||||
}]
|
||||
},
|
||||
legend: {
|
||||
position: 'left'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user