apache / apache/echarts-doc

'updateAxisPointer' event is missing in the doc

Open
#230 0 comments 10 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
262
Forks
204
Avg merge
1d 15h
Merged PRs (30d)
4

Description

`updateAxisPointer` is a very useful event to listen where item is hovered by mouse.

`echarts_instance.on('updateAxisPointer', e => console.log(e))` works but never be mentioned in the doc.

please add it

thaks 🍵

> event object
```json
{
"type": "updateaxispointer",
"seriesIndex": 0,
"dataIndexInside": 37,
"dataIndex": 336,
"axesInfo": [
{
"axisDim": "x",
"axisIndex": 0,
"value": 336
},
{
"axisDim": "y",
"axisIndex": 0,
"value": 5188.092254685122
},
{
"axisDim": "x",
"axisIndex": 1,
"value": 336
}
]
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.