-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Property ticklabelindex
for custom tick label display
#7036
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e5725c6
Property `drawminorticklabel` for drawing the label for each minor ti…
my-tien 11fd3f1
Ensure correct spacing between ticklabels and ticks when using drawmi…
my-tien a3e41af
baseline test mock for drawminorticklabel
my-tien f7d9abf
Draftlog for PR 7036 (drawminorticklabel)
my-tien 1f52f4e
"noDrawminorticklabel" exception for gl3d plots
my-tien 35a7f51
Fix failing source-syntax check: missing newline in mock
my-tien 0a80d24
Restrict drawminorticklabel to period axes
my-tien 1e7ebc3
Revert "Ensure correct spacing between ticklabels and ticks when usin…
my-tien 0671ebb
Update mock after restricting new property to period axes
my-tien 6fcda1a
baseline image for zzz_drawminorticklabel_period_axes.png
my-tien 21a573c
Refactor periodCompatibleWithTickformat to make behavior clearer.
my-tien e511fc8
Note about possible future extension of the minor tick label customiz…
my-tien 7585121
Honor ticklabelstep also when using drawminorticklabel
my-tien e2493a6
drawminorticklabel mock for date_axes_period, date_axes_period2, date…
my-tien 00971f1
Mention in description that drawminorticklabel only applies to period…
my-tien 6f5ba12
Missing trailing newlines for mocks
my-tien cd7e7c1
Baseline images for new drawminorticklabel mocks
my-tien ee329a3
Merge remote-tracking branch 'origin-plotly/master' into custom_tick_…
my-tien 0019cb0
Rename drawminorticklabel → ticklabelindex
my-tien e328c9f
Allow `ticklabelindex` also for non-period date axes and linear axes.
my-tien a580821
Update `ticklabelindex` description after allowing linear and date axes.
my-tien 16d792c
Add constant ONEMILLI
my-tien 82f1fa0
Fix missing EOF newline in zzz_date_axes_ticklabelindex.json
my-tien 908deec
New and updated baseline images for ticklabelindex mocks
my-tien 884d975
Satisfy eslint rules
my-tien 6fd6bd4
Fix ticklabelindex for reversed axes
my-tien 05d456d
Add `arrayOk` for `ticklabelindex`, add test case to mock
my-tien d351462
Update baseline image for zzz_ticklabelindex after adding more test c…
my-tien 96a26da
replace Array.isArray with Lib.isArrayOrTypedArray
my-tien 64e14d6
Add to ticklabelindex description how it can be useful for period axes
my-tien 50b1e0f
Mention contributor in draftlog
my-tien 86b43e4
refactor calcTicks
my-tien 0515237
refactor calcTicks
my-tien b6903e4
comment about possible extra values for ticklabelindex
my-tien f8974e0
Mention contributor in draftlog for PR 7006
my-tien File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
- Add property `ticklabelstandoff` and `ticklabelshift` to cartesian axes to adjust positioning of tick labels [[#7006](https://github.com/plotly/plotly.js/pull/7006)] | ||
- Add property `ticklabelstandoff` and `ticklabelshift` to cartesian axes to adjust positioning of tick labels, with thanks to @my-tien for the contribution! [[#7006](https://github.com/plotly/plotly.js/pull/7006)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add axis property `ticklabelindex` for drawing the label for each minor tick n positions away from a major tick, with thanks to @my-tien for the contribution! [[#7036](https://github.com/plotly/plotly.js/pull/7036)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.