Skip to content

Commit

Permalink
🐛 (discrete-bar) fix broken charts with projected data
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Jan 10, 2024
1 parent cd74480 commit c24cb9d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,13 @@ export class DiscreteBarChart
) {
return SeriesStrategy.entity
}
if (
autoStrategy === SeriesStrategy.entity &&
this.selectionArray.numSelectedEntities === 1 &&
this.yColumns.length > 1
) {
return SeriesStrategy.column
}
return autoStrategy
}

Expand Down

0 comments on commit c24cb9d

Please sign in to comment.