Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
scottchantry opened this issue Jan 9, 2025 · 0 comments
Closed

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

scottchantry opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@scottchantry
Copy link

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

@scottchantry scottchantry added the bug Something isn't working label Jan 9, 2025
@scottchantry scottchantry changed the title Console error when you have 2 Y axis with no data Console error when you have 2 y-axis defined with no data Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant