Skip to content

Custom legend doesn't take mouse events? #2363

@godsamit

Description

@godsamit

So I tried to use a custom legend following the example in the storybook

My custom legend follows closely to the example. But it doesn't seem mouse events are registered on the legend. I tried to log inside the itemActions, but nothing is being logged to the console.

For some reason, the css rule cursor: pointer doesn't even trigger. The cursor is still default when I hover.
image

Lastly, I copied the example from the storybook. And even though pointerValue seems to work properly, the mouse event issue persists.

Are there any setting/rules that could be preventing mouse interaction for these charts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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