Skip to content

Legend not clickable with Line type & Panning #1474

@Daniel4Digital

Description

@Daniel4Digital

Bug report

I am using an apexchart type="line" and with panning enabled, the legends stops working.
We're unable to unselect any element on the legend.
If I change the type to bar, it works.

Codepen

https://codesandbox.io/s/vue-basic-example-28od9

Explanation

  • What is the behavior you expect?
    I am expecting the same behavior as type bar with type line. Even with panning enabled, still being able to unselect/select any legend element.

  • What is happening instead?
    When clicking on any legend item, nothing happens, it doesnt unselect it.

  • What error message are you getting?
    None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglegend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions