Skip to content

Receive mouseover event on crossing the line of a line-chart #16629

@klausb

Description

@klausb

What problem does this feature solve?

Trying to get a mouse hover event on a line chart using
chart.on('mouseover', {dataType: 'edge'}, params => { ... });
but did not work.

Taking away the dataType option gives events only when hovering over the data points (small circles).
On the other hand emphasis reacts on hovering over the lines.
Actually I need an event, if emphasis kicks in.

What does the proposed API look like?

Accept 'line' or 'edge' in line charts for mouseover event handler

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions