Skip to content

Console error when you have 2 y-axis defined with no data #4907

@scottchantry

Description

@scottchantry

Description

If I have a chart with 2 Y-axis (one on the left and one on the right) and I don't have any data yet (series is empty array), I get a console error in the browser from the APEX library.

Steps to Reproduce

  1. Create a chart with 2 y-axis defined (one on left, and one with opposite set to true to be on the right) and the series is an empty array
  2. Get an error in the console

Expected Behavior

No error in the console

Actual Behavior

Error in the browser console

Screenshots

image

Reproduction Link

https://codepen.io/Scott-Chantry/pen/YPKedqY

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