From 299f2b64539b334dec64f0b11f168aebc7a9490e Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Fri, 31 Jul 2020 15:44:45 -0700 Subject: [PATCH] Make the default time series date format for line chart more useful --- ui/app/components/line-chart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/line-chart.js b/ui/app/components/line-chart.js index 5b47a0049..191e36062 100644 --- a/ui/app/components/line-chart.js +++ b/ui/app/components/line-chart.js @@ -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() {