echarts
echarts copied to clipboard
[Feature] change the color of svg icons
What problem does this feature solve?
In legend i want to use both icon and custom svg image for e.g 'rect' Legend A 'custom icon', 'rect' Legend B 'custom icon'.
What does the proposed API look like?
Svg icon color can be changed dynamically
When using 'path://...'-like icons, the color is decided by series/data. If you want to customize the color of the icon in the legend, use 'image://...' instead.