apache / apache/echarts

[Bug] `series.itemStyle.opacity` is not respected by `tooltip`

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

Description

### Version

5.4.3

### Link to Minimal Reproduction

https://jsfiddle.net/Oliya/gyqrd3fz/2/

### Steps to Reproduce

Set `series.itemStyle.opacity` to `< 1` and show the tooltip.

### Current Behavior

`series.itemStyle.opacity` is respected by the graph items and legend, but in tooltip markers opacity is always `1` for all the series:
![image](https://github.com/apache/echarts/assets/21263476/93b0911a-0ac5-49a1-9247-018774209959)

### Expected Behavior

Tooltip should draw markers with the requested opacity.

### 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.