Skip to content

Commit

Permalink
✨ (facet) hide single-item legends
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed May 13, 2024
1 parent cce974b commit b776757
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 b776757

Please sign in to comment.