apache / apache/echarts

How to change the icon of tooltip in Echarts to be the same as the icon of legend?

Open
#18,016 7 comments 8 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.4

### Link to Minimal Reproduction

https://codepen.io/Winnie-Liang/pen/VwdyBvg

### Steps to Reproduce

I want to change the icons in tooltip like the icons of legend, but I failed~
This is my codepen: https://codepen.io/Winnie-Liang/pen/VwdyBvg.
![image](https://user-images.githubusercontent.com/10196297/205545959-235468d7-c1b5-4b03-9865-e493692ba317.png)
Thank you very much for your help!

### Current Behavior

I want to change the icons in tooltip like the icons of legend, but I failed~

### Expected Behavior

![image](https://user-images.githubusercontent.com/10196297/205545959-235468d7-c1b5-4b03-9865-e493692ba317.png)

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.