Skip to content

Commit

Permalink
✨ (facet) hide single-item legends (#3569)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann authored May 14, 2024
1 parent 0924d95 commit a269b43
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,8 @@ export class FacetChart
index,
})
)
if (this.facetStrategy === FacetStrategy.metric && newBins.length <= 1)
return []
return newBins
}

Expand Down

0 comments on commit a269b43

Please sign in to comment.