Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brief Information
This pull request is in the type of:
Currently I believe time axes are "not supported" with stack as mentioned in docs, which would make this a new feature. But also this has been reported as a bug several times.
What does this PR do?
Supports using "stack" for time-based charts
Fixed issues
Details
Before: What was the problem?
Using stack with time axes does work in many cases today.
But if you attempted to use stack with time axes, and the series are not in the same order, then the stacks will render incorrectly. The stacked series will use the index to determine the start position, not the time.
Reproduction
After: How does it behave after the fixing?
The stacks will look up the stack using the time value instead of the index
Document Info
One of the following should be checked.
Misc
Security Checking
ZRender Changes
Related test cases or examples to use the new APIs
Merging options
Other information