Change icon in ApacheEchart

Hello,

I would like to know if it would be possible to change the indication red icon below?

image

and if so how to make an icon resembling the one below?

image

Regards.

@Seji, start with one of the examples Examples - Apache ECharts and update it from there.

I check some example, I found where the icon was changed :

icon: 'path://M-36.5,23.9L-41,4.4c-0.1-0.4-0.4-0.7-0.7-0.7c-0.5-0.1-1.1,0.2-1.2,0.7l-4.5,19.5c0,0.1,0,0.1,0,0.2v92.3c0,0.6,0.4,1,1,1h9c0.6,0,1-0.4,1-1V24.1C-36.5,24-36.5,23.9-36.5,23.9z M-39.5,114.6h-5v-85h5V114.6z'

But I don’t know how the icon is made.

Seji,

It’s an SVG Path. We have a video on our YouTube channel explaining the difference between PNG and SVG.

There are more videos in the playlist, which may be helpful: https://www.youtube.com/playlist?list=PLPow72ygztmQHGWFqksEf3LebUfhqBfFu

2 Likes

Thanks for your help !

1 Like