apache / apache/echarts

[Bug] Setting an Icon on the axisPointer handle is currently not working

Open
#21,235 3 comments 0 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

@Latest

### Link to Minimal Reproduction

https://echarts.apache.org/en/option.html#xAxis.axisPointer.handle.icon

### Steps to Reproduce

1. Go to the example page in the docs and try setting an icon. None of them show the icon, but when you remove the property, the icon reappears.

### Current Behavior

Setting an Icon on the axisPointer handle property, makes the handle disappear. The examples in the docs are showing this bug, but also when I try locally it happens as well.

### Expected Behavior

I guess I would expect the handle to not disappear and to show the icon... ha.

### Environment

```markdown
- OS: Windows 11
- Browser: Version 139.0.7258.139 (Official Build) (64-bit)
- Framework: N/A
```

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