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

Is there a limit to the number of keys in the legend? #306

Open
a-thind opened this issue Jul 20, 2022 · 2 comments
Open

Is there a limit to the number of keys in the legend? #306

a-thind opened this issue Jul 20, 2022 · 2 comments

Comments

@a-thind
Copy link

a-thind commented Jul 20, 2022

I am trying to create an overlaid ideogram like this example (https://eweitz.github.io/ideogram/annotations-overlaid) but with a legend indicating the type of overlays, however when I create a legend with more than 7 keys, only 7 keys have coloured rectangles.
image
Is there a way to display rectangles for more than 7 keys?

@eweitz
Copy link
Owner

eweitz commented Jul 28, 2022

Hello! I'm unaware of any code limiting the number of colored keys in the legend.

Can you post a minimal reproducible example? Whether as code in a comment here, or a minimal repo, that would help investigate the issue.

@a-thind
Copy link
Author

a-thind commented Aug 14, 2022

Hi! Thanks for your reply. I have created a basic htmlwidget in R (IdeogramJS wrapper) for visualising chromosomal segments. Here is a simulated test dataset file:
test.txt to run with the htmlwidget.
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants