Skip to content

Bubble Chart legend click causes error #3924

@CRamos132

Description

@CRamos132

Description

There's currently an issue where if you have a Bubble Chart and click on all it's legends it will cause a JS error and causes the chart to disappear. On other charts if you do this it will just not display any data on the chart. This error also occurs on the Apexcharts demos.

Steps to Reproduce

  1. Go to the Bubble Chart example, or go to this Codepen
  2. Click on the Bubble1 legend, the Bubble2 legend, the Bubble3 legend then the Bubble4 legend
  3. There should now be an error in the console and the chart should not be visible.

Expected Behavior

The chart should not cause an error and not display any data.

Actual Behavior

The chart is no longer visible and not cause an error.

Screenshots

Bar chart with all legends clicked
image

Bubble chart with all legends clicked
image

Reproduction Link

https://codepen.io/CRamos132/pen/PoxEqBK

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions