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}} -
-
    -
  1. - - - {{this.activeDatumLabel}} - - {{this.activeDatumValue}} -
  2. -
-
- {{/unless}} diff --git a/ui/app/templates/components/scale-events-chart.hbs b/ui/app/templates/components/scale-events-chart.hbs index 7a60a1803..20d188d52 100644 --- a/ui/app/templates/components/scale-events-chart.hbs +++ b/ui/app/templates/components/scale-events-chart.hbs @@ -9,6 +9,12 @@ @data={{this.data}} /> <:after as |c|> + +
  • + {{datum.formattedX}} + {{datum.formattedY}} +
  • +
    + <:after as |c|> + +
  • + {{datum.formattedX}} + {{datum.formattedY}} +
  • +
    +