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

option to draw legend using annotations #62

Open
jbfaden opened this issue Jul 7, 2023 · 2 comments
Open

option to draw legend using annotations #62

jbfaden opened this issue Jul 7, 2023 · 2 comments

Comments

@jbfaden
Copy link
Member

jbfaden commented Jul 7, 2023

I've wanted to be able to draw legends using annotations, and I started this today thinking it would be easier to do than it is. The idea is you should be able to replace the legacy legend using an annotation with text like:

"!(painter;legend;renderer=1)<br>!(painter;legend;renderer=2)" 

The problem is connecting the legend to the renderer, and also adding a control for it to the GrannyTextEditor.

@jbfaden
Copy link
Member Author

jbfaden commented Jul 7, 2023

This item should be clickable, setting focus to the referent renderer.

@jbfaden jbfaden changed the title open to draw legend using annotations option to draw legend using annotations Jul 10, 2023
@jbfaden
Copy link
Member Author

jbfaden commented Jul 10, 2023

See also https://sourceforge.net/p/autoplot/feature-requests/804/ a script which converts a Das2 legend into an annotation.

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

1 participant