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

Fix broken generic text legend. #7360

Merged
merged 2 commits into from
Jan 3, 2018
Merged

Fix broken generic text legend. #7360

merged 2 commits into from
Jan 3, 2018

Conversation

bryevdv
Copy link
Member

@bryevdv bryevdv commented Jan 2, 2018

This PR updates draw_legend_for_index render empty space in legends. The previous implementation simply rendered the word "text" unconditionally which is not useful. Now text glyphs can added to legends in combination with other glyphs in order to be able to hide or mute them together:

screen shot 2018-01-03 at 09 23 14

issues: fixes #7337

This PR updates 'draw_legend_for_index' to get/set visuals from new locations. However, even with this PR, legends for text glyphs do not seem very useful. The legend always renders "text" in 10pt, only matching color and style. More input and work is needed to make a more useful text legend.
@bryevdv bryevdv merged commit af1f37e into master Jan 3, 2018
@bryevdv bryevdv deleted the bryanv/7337_text_legend branch January 3, 2018 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Legend entry for text renderer causes error
1 participant