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

Inaccuracies and crashes in logarithmic mode in the Area Chart #4799

Open
nadav-cylus opened this issue Nov 10, 2024 · 2 comments
Open

Inaccuracies and crashes in logarithmic mode in the Area Chart #4799

nadav-cylus opened this issue Nov 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nadav-cylus
Copy link

nadav-cylus commented Nov 10, 2024

Description

I found a few issues in the logarithmic mode in the y axis:

  • when using a simple series with two values distant, let's say [100, 39], I see two issues - the 100 value is below Y=100 on the axis, and the 39 is below the entire graph
  • similarly, when using the values [1,2] - the 1 is on the Y=2 line, and the 2 is outside of the graph
  • when using a series with small or identical numbers (let's say [1,1] or [0,0]), the graph crashes or display nothing

Steps to Reproduce

  1. Create an area chart with the most basic config, set logarithmic mode in the yaxis, and replace the series values as I demonstrated (see the specific values in the codepen/description/screenshots).

Expected Behavior

  • No crashes
  • The y value should be aligned with the values on the y axis

Actual Behavior

  • Crashes on some values
  • When it doesn't crash, the y value isn't properly aligned with the y axis

Screenshots

Screenshot_20241110_183336
Screenshot_20241110_183607
Screenshot_20241110_183621

Reproduction Link

https://codepen.io/Nadav-Peled/pen/QWezjzr?editors=0010%5D

@nadav-cylus nadav-cylus added the bug Something isn't working label Nov 10, 2024
@brianlagunas
Copy link
Member

brianlagunas commented Nov 11, 2024

Your code pen link is broken, can you please fix it?

@nadav-cylus
Copy link
Author

Yes, I fixed the link.

The text was correct, it's https://codepen.io/Nadav-Peled/pen/QWezjzr?editors=0010

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

2 participants