Make the default time series date format for line chart more useful
This commit is contained in:
parent
a5dc6df0ff
commit
299f2b6453
|
@ -90,7 +90,7 @@ export default class LineChart extends Component.extend(WindowResizable) {
|
||||||
|
|
||||||
// Overridable functions that retrurn formatter functions
|
// Overridable functions that retrurn formatter functions
|
||||||
xFormat(timeseries) {
|
xFormat(timeseries) {
|
||||||
return timeseries ? d3TimeFormat.timeFormat('%b') : d3Format.format(',');
|
return timeseries ? d3TimeFormat.timeFormat('%b %d, %H:%M') : d3Format.format(',');
|
||||||
}
|
}
|
||||||
|
|
||||||
yFormat() {
|
yFormat() {
|
||||||
|
|
Loading…
Reference in a new issue