Skip to content
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

Add support for in-view overlay of detail track (overlaid tracks with different dimensions) #1050

Open
thomcsmits opened this issue Mar 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@thomcsmits
Copy link
Collaborator

thomcsmits commented Mar 21, 2024

Story
To display detail about a chart it's common to add a smaller second chart in the first chart on one of the sizes:

bar chart with smaller bar chart on the right top

Generally, either of the 2 is true:

  • The same mark is used for the charts, the label is the same for the axes (e.g x-axis 1 and 2), but the domain is different, generally x-axis 2 has a smaller domain than x-axis 1.
  • The axis domain is the same (e.g. both show the full genome) but the mark is different.

An example where the domain is the same but the mark is different:
image

Potential solution
We can support this by allowing two overlaid tracks to have different sizes. We would need to specify the size of the smaller chart, as well as either the alignment (which corner, as these are almost always in corners), or the specific x,y coordinates of one of the corners.

Requested enhancement
Ability to overlay tracks with different sizes, and be able to specify the relative location of the smaller track.

@thomcsmits thomcsmits added the enhancement New feature or request label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant