Skip to content
Snippets Groups Projects
Unverified Commit 8ef1f149 authored by Paul Rosenzweig's avatar Paul Rosenzweig Committed by GitHub
Browse files

fix bug where bubble size couldn't be in column index 0 (#10091)

parent 34331a76
No related branches found
No related tags found
No related merge requests found
......@@ -321,7 +321,9 @@ function transformSingleSeries(s, series, seriesIndex) {
settings["scatter.bubble"] &&
_.findIndex(cols, col => col.name === settings["scatter.bubble"]);
const extraColumnIndexes =
bubbleColumnIndex && bubbleColumnIndex >= 0 ? [bubbleColumnIndex] : [];
bubbleColumnIndex != null && bubbleColumnIndex >= 0
? [bubbleColumnIndex]
: [];
if (dimensions.length > 1) {
const [dimensionColumnIndex, seriesColumnIndex] = dimensionColumnIndexes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment