diff --git a/static/poopGraph.js b/static/poopGraph.js index 88be48e..dac4192 100644 --- a/static/poopGraph.js +++ b/static/poopGraph.js @@ -113,9 +113,12 @@ function plot(data) { }, scales: { x: { - type: 'timeseries', + type: 'time', min: document.getElementById('startDate').value, max: document.getElementById('endDate').value, + time: { + tooltipFormat: 'MMM d, yyyy', + }, }, y: { min: 0,