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 6e485e5 commit e847086Copy full SHA for e847086
packages/charts/src/components/ScatterChart/ScatterChart.tsx
@@ -182,7 +182,7 @@ const ScatterChart: FC<ScatterChartProps> = forwardRef((props: ScatterChartProps
182
tick={<XAxisTicks config={xMeasure?.[0]} />}
183
padding={xAxisPadding}
184
height={xAxisHeights[0]}
185
- label={xMeasure?.[0].label ? { value: xMeasure?.[0].label, dy: 15, position: 'insideRight' } : 0}
+ label={xMeasure?.[0]?.label ? { value: xMeasure?.[0]?.label, dy: 15, position: 'insideRight' } : 0}
186
/>
187
)}
188
<YAxis
0 commit comments