-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add ticklabelstandoff
and ticklabelshift
to cartesian axes
#7006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
6c81892
ad4509b
fa50121
d33e47c
3dcb2aa
facdad3
ecf4787
2b9c90c
f06a81e
57c82ee
4ccaf73
4b62652
94878cb
9ca95a2
6ea832f
b7a6327
316158d
e7a980a
e8f88ba
d9210da
e33270b
ec5df56
e3b0baa
23a21c1
6715564
26315dc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add property axis.ticklabelshiftx axis.ticklabelshifty for shifting the tick labels by a number of pixels [[#7006](https://github.com/plotly/plotly.js/pull/7006)] | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -698,6 +698,22 @@ module.exports = { | |
'In other cases the default is *hide past div*.' | ||
].join(' ') | ||
}, | ||
ticklabelshiftx: { | ||
|
||
valType: 'integer', | ||
dflt: 0, | ||
editType: 'ticks', | ||
description: [ | ||
'Horizontally shifts the tick labels by the specified number of pixels.' | ||
].join(' ') | ||
}, | ||
ticklabelshifty: { | ||
valType: 'integer', | ||
dflt: 0, | ||
my-tien marked this conversation as resolved.
Show resolved
Hide resolved
|
||
editType: 'ticks', | ||
description: [ | ||
'Vertically shifts the tick labels by the specified number of pixels.' | ||
].join(' ') | ||
}, | ||
mirror: { | ||
valType: 'enumerated', | ||
values: [true, 'ticks', false, 'all', 'allticks'], | ||
|
Uh oh!
There was an error while loading. Please reload this page.