Skip to content

Commit

Permalink
[charts] Fix Axis Highlight on horizontal bar charts regression (mui#…
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas authored and DungTiger committed Jul 23, 2024
1 parent 6057190 commit 0af5568
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function ChartsAxisHighlight(props: ChartsAxisHighlightProps) {
/>
)}

{isBandScaleY && yScale(axisY.value) === undefined && (
{isBandScaleY && yScale(axisY.value) !== undefined && (
<ChartsAxisHighlightPath
d={`M ${xScale.range()[0]} ${
// @ts-expect-error, yScale value is checked in the statement above
Expand Down

0 comments on commit 0af5568

Please sign in to comment.