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 thomasmoon committed Sep 6, 2024
1 parent 1fa2517 commit c192a57
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 c192a57

Please sign in to comment.