Skip to content

Commit

Permalink
Merge branch 'master' of github.com:owid/owid-grapher
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Jan 30, 2024
2 parents 1f9ed89 + c5cbc7a commit 3e8221d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion adminSiteClient/EditorFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ export class EditorFeatures {
}

@computed get canCustomizeXAxisLabel() {
return true
return (
this.grapher.isLineChart ||
this.grapher.isScatter ||
this.grapher.isMarimekko ||
this.grapher.isStackedArea
)
}

@computed get canCustomizeYAxis() {
Expand Down

0 comments on commit 3e8221d

Please sign in to comment.