-
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
[Feature] Confidence Band example with xAxis.type and yAxis.type equal "log" #16744
Comments
I can see you've submitted the same issue #16646 before. echarts/src/data/helper/dataStackHelper.ts Lines 104 to 117 in d3dbf12
Echarts is trying to set the stack dimension and its way is to find the FIRST dimension that can be stacked! This means when x axis type is 'category', 'time', or 'ordinary' echarts can correctly find y axis as stack axis. But when x axis is also "stackable", echarts will take x axis as default axis to stack the data. That results in wrong stack in both bar chart and line chart. Here's a wrong-stacked bar example:
Changing x axis type into 'category' and things will look right. When user use bar or line chart, they might want to stack data to x or y axis and a default stack axis is never enough. So I think the best way is to add a new option |
Any news about this fix? This is something we need in our project too. |
Any status? This topic is quite blocking for us too |
Same for us, this would really help. |
Same here |
What problem does this feature solve?
I set xAxis.type from "category" to "log" in a Confidence Band example.
The chart won't show right.
You can run the attachment by browser.
confidence-band-20220308.zip
What does the proposed API look like?
"xAxis.type" is also needed 'log' type.
The text was updated successfully, but these errors were encountered: