mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
fix(plugin-chart-echarts): undefined bounds for bubble chart (#26243)
This commit is contained in:
@@ -143,8 +143,8 @@ export default function transformProps(chartProps: EchartsBubbleChartProps) {
|
||||
const yAxisFormatter = getNumberFormatter(yAxisFormat);
|
||||
const tooltipSizeFormatter = getNumberFormatter(tooltipSizeFormat);
|
||||
|
||||
const [xAxisMin, xAxisMax] = xAxisBounds.map(parseAxisBound);
|
||||
const [yAxisMin, yAxisMax] = yAxisBounds.map(parseAxisBound);
|
||||
const [xAxisMin, xAxisMax] = (xAxisBounds || []).map(parseAxisBound);
|
||||
const [yAxisMin, yAxisMax] = (yAxisBounds || []).map(parseAxisBound);
|
||||
|
||||
const padding = getPadding(
|
||||
showLegend,
|
||||
|
||||
Reference in New Issue
Block a user