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/19 20:18:24 UTC

[GitHub] [echarts] Bilge opened a new issue #14302: Dashed line rendering style changed from v4 -> v5

Bilge opened a new issue #14302:
URL: https://github.com/apache/echarts/issues/14302


   ### Version
   5.0.2
   
   ### Steps to reproduce
   Add a dashed markLine to a chart.
   
   | v4 | v5 |
   |-|-|
   ![image](https://user-images.githubusercontent.com/470626/108556547-16311e00-72ef-11eb-9733-32807f066ce0.png) | ![image](https://user-images.githubusercontent.com/470626/108556552-192c0e80-72ef-11eb-824e-61b62657930c.png)
   
   Both images are 1:1 scale.
   
   ### What is expected?
   
   Dashed line is comprised of a repeating sequence of 4 pixels opaque and 4 pixels transparent.
   
   ### What is actually happening?
   
   Dashed line is comprised of a repeating sequence of 4 pixels opaque and 2 pixels transparent.
   
   ---
   This behaviour changed between 4.9.0 -> 5.0.2. There seems to be no option to control how dashed lines are drawn. For some reason, the distance of the transparent portion of the line was halved.
   
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14302: Dashed line rendering style changed from v4 -> v5

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14302:
URL: https://github.com/apache/echarts/issues/14302#issuecomment-782317249


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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


[GitHub] [echarts] susiwen8 commented on issue #14302: Dashed line rendering style changed from v4 -> v5

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #14302:
URL: https://github.com/apache/echarts/issues/14302#issuecomment-782512548


   I think this was by design.


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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #14302:
URL: https://github.com/apache/echarts/issues/14302#issuecomment-782515379


   The default dash offset 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