We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f8d374 commit 53d388cCopy full SHA for 53d388c
1 file changed
packages/x-charts-premium/src/ScatterChartPremium/HighlightedScatterMark.tsx
@@ -24,7 +24,7 @@ export function HighlightedScatterMark(props: React.SVGAttributes<SVGCircleEleme
24
const { yAxis, yAxisIds } = useYAxes();
25
26
if (
27
- highlightedItem === null ||
+ !highlightedItem ||
28
highlightedItem.type !== 'scatter' ||
29
highlightedItem.dataIndex === undefined ||
30
!scatterSeries
0 commit comments