Skip to content

Commit

Permalink
✨ disable 'nice' ticks when facetted by metric
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Jan 13, 2025
1 parent 324f6de commit 1b2911e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ export class FacetChart

// We infer that the user cares about the trend if the axis is not uniform
// and the metrics on all facets are the same
const careAboutTrend =
!this.uniformYAxis && this.facetStrategy === FacetStrategy.entity
const careAboutTrend = !this.uniformYAxis
if (careAboutTrend) {
// Force disable nice axes if we care about the trend,
// because nice axes misrepresent trends.
Expand Down

0 comments on commit 1b2911e

Please sign in to comment.