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 texture style in legend color icon #1520

Open
markov00 opened this issue Dec 9, 2021 · 0 comments
Open

Add texture style in legend color icon #1520

markov00 opened this issue Dec 9, 2021 · 0 comments
Labels
:accessibility Accessibility related issue enhancement New feature or request :legend Legend related issue

Comments

@markov00
Copy link
Member

markov00 commented Dec 9, 2021

Is your feature request related to a problem? Please describe.
When adding texture as an area/bar style, I want to see the same texture rendered in the legend, so I can link correctly the chart to its title in the legend

image

Describe the solution you'd like
The legend icon (currently a small circle) can be replaced by a bigger geometry containing the texture used to render the chart.
The texture needs to represent all the characteristics of the texture like the line angle, the line width, the dot size, the dot fill/empty pattern, the color associated etc.
I'm sure we can't consider every possible use case and some textures are more easily renderable in the legend than others, so I suggest designing for a good set of textures and proposing them as default.

Describe alternatives you've considered
Instead of showing only a small circle or a square with the color + texture we can expand the color to the full legend item like in the following examples from Trello (they are not legends but it shows the idea)

Screenshot 2021-12-09 at 14 18 36

Screenshot 2021-12-09 at 14 18 08

@markov00 markov00 added enhancement New feature or request :legend Legend related issue :accessibility Accessibility related issue labels Dec 9, 2021
@markov00 markov00 mentioned this issue Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:accessibility Accessibility related issue enhancement New feature or request :legend Legend related issue
Projects
None yet
Development

No branches or pull requests

1 participant