What problem does this feature solve?
This is in anyway urgent, however it would be nice to have the possibility to align the legent text to a side without also changing the icon position.
In my case, it was a design choice to have the icon shown in the left of the text and have the text align to the right. However, in the current implementation this is not possible because when the text align changes the icon goes to the side where the text is aligned to.
What does the proposed API look like?
Instead of having options.legend.align for both icon and text alignment i would suggest have something like options.legend.iconPosition (either 'left' or 'right') and options.legend.align would just affect the text alignment.
What problem does this feature solve?
This is in anyway urgent, however it would be nice to have the possibility to align the legent text to a side without also changing the icon position.
In my case, it was a design choice to have the icon shown in the left of the text and have the text align to the right. However, in the current implementation this is not possible because when the text align changes the icon goes to the side where the text is aligned to.
What does the proposed API look like?
Instead of having options.legend.align for both icon and text alignment i would suggest have something like options.legend.iconPosition (either 'left' or 'right') and options.legend.align would just affect the text alignment.