Make the default time series date format for line chart more useful

This commit is contained in:
Michael Lange 2020-07-31 15:44:45 -07:00
parent a5dc6df0ff
commit 299f2b6453

View file

@ -90,7 +90,7 @@ export default class LineChart extends Component.extend(WindowResizable) {
// Overridable functions that retrurn formatter functions
xFormat(timeseries) {
return timeseries ? d3TimeFormat.timeFormat('%b') : d3Format.format(',');
return timeseries ? d3TimeFormat.timeFormat('%b %d, %H:%M') : d3Format.format(',');
}
yFormat() {