We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d9fd67 + 03c2493 commit 570b22dCopy full SHA for 570b22d
packages/chart/src/components/ScatterPlot/ScatterPlot.jsx
@@ -42,8 +42,8 @@ const ScatterPlot = ({ xScale, yScale }) => {
42
? `${config.runtime.seriesLabels[s] || ''}<br/>`
43
: ''
44
}
45
- ${config.xAxis.label}: ${formatNumber(item[config.xAxis.dataKey], 'bottom')} <br/>
46
- ${config.yAxis.label}: ${formatNumber(item[s], 'left')}<br/>
+ ${config.runtime?.xAxis?.label || config.xAxis.label}: ${formatNumber(item[config.xAxis.dataKey], 'bottom')} <br/>
+ ${config.runtime?.yAxis?.label || config.yAxis.label}: ${formatNumber(item[s], 'left')}<br/>
47
${additionalColumns
48
.map(
49
([label, name, options]) =>
0 commit comments