Skip to content

Commit e847086

Browse files
committed
fix(Scatter Chart): fix placeholder
1 parent 6e485e5 commit e847086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/charts/src/components/ScatterChart/ScatterChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const ScatterChart: FC<ScatterChartProps> = forwardRef((props: ScatterChartProps
182182
tick={<XAxisTicks config={xMeasure?.[0]} />}
183183
padding={xAxisPadding}
184184
height={xAxisHeights[0]}
185-
label={xMeasure?.[0].label ? { value: xMeasure?.[0].label, dy: 15, position: 'insideRight' } : 0}
185+
label={xMeasure?.[0]?.label ? { value: xMeasure?.[0]?.label, dy: 15, position: 'insideRight' } : 0}
186186
/>
187187
)}
188188
<YAxis

0 commit comments

Comments
 (0)