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 2021/02/20 01:30:56 UTC

[GitHub] [echarts] plainheart edited a comment on issue #14302: Dashed line rendering style changed from v4 -> v5

plainheart edited a comment on issue #14302:
URL: https://github.com/apache/echarts/issues/14302#issuecomment-782515379


   The default dash array has been changed since v5.0.0.
   
   Currently we provide some new options:
   
   `lineStyle.dashOffset`, `lineStyle.cap`, `lineStyle.join`, `lineStyle.miterLimit`
   
   And `lineStyle.type` can now accept a `dashArray`, for example,
   
   ```js
   {
       lineStyle: {
           type: [12, 3, 3], // before v5.0.0, it can only be `solid`, `dotted`, `dashed`
           dashOffset: 2 // To control the offset of dashed line
       }
   }
   ```
   
   But sorry that they are not documented yet. We'll add them later.
   


----------------------------------------------------------------
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



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