镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

'updateAxisPointer' event is missing in the doc #230

Open

Description

@SanLeen

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

{
    "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
        }
    ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions