Add texture style in legend color icon #1520
Labels
:accessibility
Accessibility related issue
enhancement
New feature or request
:legend
Legend related issue
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
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)
The text was updated successfully, but these errors were encountered: