fix date display

This commit is contained in:
xenofem 2022-04-15 04:02:54 -04:00
parent 9595b406ca
commit 79663dc132

View file

@ -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,