wf123537200 opened a new pull request #12487:
URL: https://github.com/apache/incubator-echarts/pull/12487


   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   append a params as follow
   ```
   splitLine: {
                    ...
                       showAsAxis: true,
                    ...
                   }
   ```
   when set the params,  the splitLine will only show when the 
axisLabel.formatter return !value = true
   
   
   
   ### Fixed issues
   
   <!--
   - #12456: xAxis. splitLine Cannot display only at the scale location where 
the label is located实现坐标轴在 grid 区域中的分隔线只显示在标签的位置
   -->
   
   
   ## Details
   
   ### Before: What was the problem?
   
   the split line will show whatever the xAisx is show
   
![image](https://user-images.githubusercontent.com/5130528/80185374-cfc35200-863e-11ea-8e3b-229ebe3fc4df.png)
   
   
   ### After: How is it fixed in this PR?
   
   the split line will show at the xAisx scale location
   
![image](https://user-images.githubusercontent.com/5130528/80185353-c89c4400-863e-11ea-9ea4-88711797b2a6.png)
   
   
   ## Usage
   
   ### Are there any API changes?
   
   - [x] The API has been changed.
   
   append params at axis.splitLine: 
   ```
   splitLine: {
                    ...
                       showAsAxis: true,
                    ...
                   }
   ```
   
   ### Related test cases or examples to use the new APIs
   
   test/axis-interval-splitLine.html
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merge.
   
   ### 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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to