diff --git a/ui/app/components/line-chart.js b/ui/app/components/line-chart.js index 5637e50c4..995df3f81 100644 --- a/ui/app/components/line-chart.js +++ b/ui/app/components/line-chart.js @@ -293,7 +293,7 @@ export default class LineChart extends Component { return { series, datum: { - formattedX: this.xFormat()(datum[xProp]), + formattedX: this.xFormat(this.args.timeseries)(datum[xProp]), formattedY: this.yFormat()(datum[yProp]), datum, }, diff --git a/ui/app/templates/components/line-chart.hbs b/ui/app/templates/components/line-chart.hbs index c97e2a986..7927fe2c6 100644 --- a/ui/app/templates/components/line-chart.hbs +++ b/ui/app/templates/components/line-chart.hbs @@ -51,17 +51,4 @@ data=this.activeData) ) to="after"}} {{/if}} - {{#unless @dataProp}} -