You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/11/22 16:05:27 UTC

[GitHub] [incubator-echarts] pissang opened a new pull request #11705: feat(axis): Add minorTicks and minorSplitLines

pissang opened a new pull request #11705: feat(axis): Add minorTicks and minorSplitLines
URL: https://github.com/apache/incubator-echarts/pull/11705
 
 
   This is a pull request about adding `minorTicks`, `minorSplitLines` to axes of carteisan2d and polar coordinate system. It not support `category` type axis.
   
   Usage:
   ```js
   xAxis: {
       axisTick: {
           // inside will also affect minorTick.
           inside: true,
           length: 20,
           lineStyle: {
               width: 4
           }
       },
       minorTick: {
           show: true,
           length: 10,
           splitNumber: 10,
           lineStyle: {
               color: 'red',
               width: 2
           }
       },
       minorSplitLine: {
           show: true,
           lineStyle: {
               color: 'rgba(255, 0, 0, 0.5)'
           }
       }
   }
   ```
   
   The default option is in https://github.com/apache/incubator-echarts/compare/minor-ticks?expand=1#diff-af7ed0ab793833949acec7caafa8646eR180
   
   
   Here is some shots.
   
   With dataZoom.
   ![minor-ticks](https://user-images.githubusercontent.com/841551/69441016-d5adc200-0d84-11ea-8fb5-1cd019d39552.gif)
   
   
   All tests.
   ![screencapture-localhost-echarts-test-axis-minorTick-html-2019-11-22-23_55_55](https://user-images.githubusercontent.com/841551/69441041-dfcfc080-0d84-11ea-856c-de46ccb09c87.png)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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