echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] change the color of svg icons

Open anuragg33 opened this issue 1 year ago • 1 comments

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

anuragg33 avatar Aug 24 '24 17:08 anuragg33

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.

Ovilia avatar Aug 26 '24 07:08 Ovilia