diff --git a/packages/@ourworldindata/grapher/src/core/Grapher.tsx b/packages/@ourworldindata/grapher/src/core/Grapher.tsx index 20a26720fc8..e0e4c8dd780 100644 --- a/packages/@ourworldindata/grapher/src/core/Grapher.tsx +++ b/packages/@ourworldindata/grapher/src/core/Grapher.tsx @@ -780,16 +780,14 @@ export class Grapher table.get(this.mapColumnSlug).tolerance ) - if ( - this.isDiscreteBar || - this.isLineChartThatTurnedIntoDiscreteBar || - this.isMarimekko - ) + if (this.isDiscreteBar || this.isLineChartThatTurnedIntoDiscreteBar) return table.filterByTargetTimes( [endTime], table.get(this.yColumnSlugs[0]).tolerance ) + if (this.isMarimekko) return table.filterByTargetTimes([endTime]) + if (this.isSlopeChart) return table.filterByTargetTimes([startTime, endTime])