-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[charts] Area Chart does not allow logarithmic scale #13759
Comments
Hi @nickroh15 it indeed looks like a bug. This seems to only affect We will add it to our list, thanks for reporting 💪 |
The issue with area+log scale is that the area needs a baseline which is for now the 0. As you can guess having a 0 in a log scale can only cause troubles 😁 To make it work, you will need 2 part
|
First of all: thank you very much. This makes sense, but I am not sure how I can define a "baseline" for my logScale? I cannot find anything like that in the documentation.. |
Sorry for the lack of clarity. This baseline does not exist. It's more a note for the person who will take care of this issue After a second look, it seems we can solve the issue without introducing a new params. In the following line, we do a distinction between areas and lines when computing the extremums.
We should modify this such that area with a log scale is treated the same way as a line. I proposed a PR to fix that |
@nickroh15: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
When using a log Scale in conjunction with an area chart, the area is not displayed.
Expected behavior
The Area should be displayed?
Context
Working on a charting app, where I want to dynamically configure different charts, including line and area charts. The app should also support are charts with a log y-axis scale.
Your environment
No response
Search keywords: Line Chart Area Chart logScale logarithmic Scale
The text was updated successfully, but these errors were encountered: