From 2a1802ecf579592d925df1486ccafadbeb62a43f Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Mon, 16 Oct 2023 17:09:49 +0200 Subject: [PATCH] fix: don't show HorizontalAxisZeroLine on log axis fixes #2715 --- .../grapher/src/barCharts/DiscreteBarChart.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/@ourworldindata/grapher/src/barCharts/DiscreteBarChart.tsx b/packages/@ourworldindata/grapher/src/barCharts/DiscreteBarChart.tsx index f53230fe812..60bac377190 100644 --- a/packages/@ourworldindata/grapher/src/barCharts/DiscreteBarChart.tsx +++ b/packages/@ourworldindata/grapher/src/barCharts/DiscreteBarChart.tsx @@ -512,10 +512,12 @@ export class DiscreteBarChart return result })} - + {!this.isLogScale && ( + + )} ) }