From 8413e11f7778e206ec958fd9a28959bbfb8217f4 Mon Sep 17 00:00:00 2001 From: Jose C Quintas Jr Date: Wed, 3 Jul 2024 15:34:36 +0200 Subject: [PATCH] [charts] Fix Axis Highlight on horizontal bar charts regression (#13717) --- .../x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx b/packages/x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx index ba52a0470815d..38f77bcc6b36d 100644 --- a/packages/x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx +++ b/packages/x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx @@ -117,7 +117,7 @@ function ChartsAxisHighlight(props: ChartsAxisHighlightProps) { /> )} - {isBandScaleY && yScale(axisY.value) === undefined && ( + {isBandScaleY && yScale(axisY.value) !== undefined && (