jiawulin001 opened a new pull request, #17078:
URL: https://github.com/apache/echarts/pull/17078

   <!-- Please fill in the following information to help us review your PR more 
efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   barSeries.startValue is added for users to specify where the bars start.
   
   
   
   ### Fixed issues
   
   
   - #16840 
   - #17077
   
   
   
   ## Details
   
   ### Before: What was the problem?
   
   As stated in the issues. Users cannot specify the start value of bars.
   
   |issue #16840| issue #17077|
   |--|--|
   
|![image](https://user-images.githubusercontent.com/14244944/169640522-1073259e-7596-4c5e-bfce-d0993afe382d.png)|![image](https://user-images.githubusercontent.com/14244944/169640512-0fb04c72-f7cb-4714-b64a-54b18e4b1538.png)|
   
   
   
   
   ### After: How is it fixed in this PR?
   
   Users now can specify `barSeries.startValue` to set the starting value of 
bars. Stack and multi-axes are also tested to be running correctly.
   
   |issue #16840 (startValue = -200)| issue #17077 (startValue = -150)|
   |--|--|
   |<img width="333" alt="after #16840" 
src="https://user-images.githubusercontent.com/14244944/169640818-30254a37-8868-4bd2-93e7-e625ae1d6741.png";>|<img
 width="831" alt="after #17077" 
src="https://user-images.githubusercontent.com/14244944/169640827-8e75d24d-3762-42ce-af7c-5b387de77f6d.png";>|
   
   
   
   
   
   ## Misc
   
   <!-- ADD RELATED ISSUE ID WHEN APPLICABLE -->
   
   - [x] The API has been changed (apache/echarts-doc#xxx).
   - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
   
   ### Related test cases or examples to use the new APIs
   
   bar-startValue.html
   
   
   
   ## Others
   
   ### Merging options
   
   - [x] Please squash the commits into a single one when merging.
   
   ### Other information
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to