-
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] encode y: [a,b] does not behave as expected #20521
Comments
not-a-bug, here is one way of displaying a confidence band - Demo |
@helgasoft I appreciate your proposed workaround, but it is not a complete solution and I still believe this is a bug for these reasons:
An ideal solution may allow you to specify the line and area in a single series configuration, as opposed to the 2 above, for example. :
The best alternative we've been able to utilize thus far is plotting data points as a scatter and then showing the average through line as 2 series. This is not our preferred format however, 'confidence bands' would be better. |
You may need to wait until v6.0 releases so that you can use the new lineRange custom series. It's expected to be released around Feb 2025. Before that, you can refer to its source code to write your own custom series if you wish. |
Version
5.5.1
Link to Minimal Reproduction
echarts Editor
Steps to Reproduce
Current Behavior
encode: { y: [min, max] }
anchors to y=0, is the x-axis rather than floating above.Expected Behavior
the area should be plotted in the range from min to max, rather than from 0 to min.
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: