feat(core,track): move gosling-theme to this repo, support more compact genomic axis style #996
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.
Fix #990
Fix #860
Change List
gosling-theme
repository to this repo (Had to fix some typescript errors that were there) Includegosling-lang/gosling-theme
to this repo #860labelMargin
andlabelExcludeChrPrefix
) Genomic axis hides chr<N> labels #990(Changes after moving the gosling-theme repo can be found at 7d5fd40...d924a9d)
labelMargin
The margin around labels for calculating visual overlaps between labels. This is mainly used for determining the visibility of axis labels.
0
if no margin to use. Negative values (-1
) for showing all labels even if they overlap.labelExcludeChrPrefix
If
true
, labels of genomics axes excludes the chromosome prefix (e.g.,chr1
->1
).Screenshots
Default (labelMargin == 5, labelExcludeChrPrefix == false)
labelMargin == 0, labelExcludeChrPrefix == false
labelMargin == -1, labelExcludeChrPrefix == false
labelMargin == -1, labelExcludeChrPrefix == true
Checklist