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

Customise legend location #18

Open
AntonPetrov opened this issue Jun 20, 2024 · 4 comments
Open

Customise legend location #18

AntonPetrov opened this issue Jun 20, 2024 · 4 comments

Comments

@AntonPetrov
Copy link
Member

Based on feedback from PomBase from @ValWood and @kimrutherford, it would be useful to customise the location of the legend so that the R2DT widget can better fit in horizontal layouts. One could add options like legendLocation: bottom/left/right.

@AntonPetrov AntonPetrov changed the title Enable customising Customise legend location Jun 20, 2024
@carlosribas
Copy link
Contributor

Hi @ValWood and @kimrutherford. How would you like to display the dot-bracket notation? Would you like to change this too? Thanks!

@ValWood
Copy link

ValWood commented Jul 9, 2024

Hi @carlosribas

I think it would be useful if we could position it (or even hide it , it probably isn't critical for our users).

@carlosribas
Copy link
Contributor

Hi @ValWood and @kimrutherford,

To display the legend alongside the secondary structure, use the following parameter:

customStyle='{
    "legendLocation": "right"
}'

Currently, "right" is the only supported value, which aligns with your requirements.

I will keep this issue open until the other changes are completed.

carlosribas added a commit that referenced this issue Jul 11, 2024
@kimrutherford
Copy link

To display the legend alongside the secondary structure, use the following parameter:

That worked. Thanks!

kimrutherford added a commit to pombase/pombase-python-web that referenced this issue Jul 15, 2024
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

4 participants