-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
[Bug] bar chart x-axis incorrect when stacking multiple series #17522
Comments
Please try to minify your data to make it easier to read and understand. |
Hi @Ovilia , this is a simplified version of the example with just 2 series. Same problems of xAxis max value is 50 when it should be 25; when min and max on the xAxis are specified (as 21 and 26), only one series is shown at a time; and it stacks properly only when x-axis type is x-axis type is |
The default max value of the xAxis (when |
I can also replicate this bug on my charts when I simply apply stack on my series when xAxis type is set to value Here is our open issue: lightdash/lightdash#3076 Here is a modified stacked bar chart example as you can see, the max value on xAxis should be 1320, not 3000 This only happens when xAxis type is value (not category) I noticed that if you remove any of the series, the maxValue will be reduced as well, like maxValue is the maxValue * number of series whe stack is applied. we're using
|
|
New Version!
|
Version
5.3.2
Link to Minimal Reproduction
Link to Chart
Expand for chart config
Steps to Reproduce
It seems de-selecting series from the chart changes the xAxis max value.
Current Behavior
xAxis max value is 150 when it should be 25, the chart is unreadable:
When
min
andmax
on the xAxis are specified, only one series is shown at a time:Expected Behavior
It stacks properly when x-axis type is
category
instead ofvalue
:Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: