Skip to content

Commit

Permalink
Increase distancing between horizontal labels
Browse files Browse the repository at this point in the history
  • Loading branch information
fqqb committed Apr 7, 2024
1 parent 8b93a72 commit b1262cb
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 70 deletions.
138 changes: 69 additions & 69 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/widgets/monitors/LinearScale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,10 @@ export class LinearScale {
return this.scale * 4;
}
get tickLabelGap() {
return this.scale * 2;
if (this.horizontal) {
return this.scale * 10;
} else {
return this.scale * 2;
}
}
}

0 comments on commit b1262cb

Please sign in to comment.