Skip to content
Snippets Groups Projects
Commit 83974deb authored by Tom Robinson's avatar Tom Robinson Committed by GitHub
Browse files

Merge pull request #3118 from metabase/fix-custom-column-single-series-charts

Fix custom column single series charts
parents 234e4a70 59abb3d8
No related branches found
No related tags found
No related merge requests found
......@@ -124,10 +124,10 @@ export default class LineAreaBarChart extends Component {
cols: rowIndexes.map(i => s.data.cols[i])
}
}));
} else if (metrics.length > 1) {
} else {
const dimensionIndex = dimensionIndexes[0];
nextState.isMultiseries = true;
nextState.isMultiseries = metrics.length > 1;
nextState.series = metricIndexes.map(metricIndex => {
const col = cols[metricIndex];
return {
......
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