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

Multi Axis Scaling not working as expected #4944

Open
NotFazed opened this issue Feb 14, 2025 · 0 comments
Open

Multi Axis Scaling not working as expected #4944

NotFazed opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@NotFazed
Copy link

Description

When using a multiple y-axis the documentation says this :

In a multiple y-axis chart, you can target the scale of a y-axis to a particular series by referencing through the seriesName. The [series](https://apexcharts.com/docs/options/series) item which have the same name property will be used to calculate the scale of the y-axis.

Steps to Reproduce

  1. Create a multi y-axis, as per the documented example (https://apexcharts.com/docs/chart-types/multiple-yaxis-scales/)
  2. Change one of the values in Series B to be a high number e.g. 400
  3. Observe that the graph uses this number when drawing the graph where it should scale based upon series A

Expected Behavior

Column B should use the scale provided by Series A and go off the top of the graph/

Actual Behavior

Rendering takes into account data in series B when calculating the scale.

Screenshots

Image

Reproduction Link

https://codepen.io/NotFazed/pen/VYwLwvK

@NotFazed NotFazed added the bug Something isn't working label Feb 14, 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