fix date display
This commit is contained in:
parent
9595b406ca
commit
79663dc132
|
@ -113,9 +113,12 @@ function plot(data) {
|
||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
x: {
|
x: {
|
||||||
type: 'timeseries',
|
type: 'time',
|
||||||
min: document.getElementById('startDate').value,
|
min: document.getElementById('startDate').value,
|
||||||
max: document.getElementById('endDate').value,
|
max: document.getElementById('endDate').value,
|
||||||
|
time: {
|
||||||
|
tooltipFormat: 'MMM d, yyyy',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
y: {
|
y: {
|
||||||
min: 0,
|
min: 0,
|
||||||
|
|
Loading…
Reference in a new issue