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 2022/05/30 07:59:42 UTC

[GitHub] [echarts] hulalalalala opened a new issue, #17137: [Feature] 希望可以为折线图lineStyle.width 添加一个回调函数

hulalalalala opened a new issue, #17137:
URL: https://github.com/apache/echarts/issues/17137

   ### What problem does this feature solve?
   
   我在开发地图渲染时,碰到了为不同的线段设置不同的宽度的需求,我查阅了文档,发现lineStyle.width只能设置常量,而无法用回调函数灵活设置。我就只能为每一个线段创建一个对象来单独设置他们的宽度,这么做将无法体验到lines的高性能和便捷性。
   
   ### What does the proposed API look like?
   
   希望lineStyle.width支持回调函数:
   回调函数格式如下:
   (params: Object) => Width


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

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


Re: [I] [Feature] 希望可以为折线图lineStyle.width 添加一个回调函数 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17137: [Feature] 希望可以为折线图lineStyle.width 添加一个回调函数
URL: https://github.com/apache/echarts/issues/17137


-- 
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: commits-unsubscribe@echarts.apache.org

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] Ovilia commented on issue #17137: [Feature] 希望可以为折线图lineStyle.width 添加一个回调函数

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

   We are going to extend the ability of varied segments of line series. So this issue can be possibly solved by #17138.


-- 
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: commits-unsubscribe@echarts.apache.org

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


Re: [I] [Feature] 希望可以为折线图lineStyle.width 添加一个回调函数 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17137:
URL: https://github.com/apache/echarts/issues/17137#issuecomment-2140862274

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


-- 
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: commits-unsubscribe@echarts.apache.org

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 #17137: [Feature] 希望可以为折线图lineStyle.width 添加一个回调函数

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

   @hulalalalala It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Feature] Hope to add a callback function to lineStyle.width for line chart
   
   **BODY**
   
   ### What problem does this feature solve?
   
   When I was developing map rendering, I encountered the need to set different widths for different line segments, and I consulted the documentation and found that lineStyle.width can only set constants, not flexible settings with callback functions. I can only create one object for each segment to set their width individually, which will not experience the high performance and convenience of lines.
   
   ### What does the proposed API look like?
   
   Hopefully, lineStyle.width supports callback functions:
   The callback function format is as follows:
   (params: Object) => Width
   </details>


-- 
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: commits-unsubscribe@echarts.apache.org

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


Re: [I] [Feature] 希望可以为折线图lineStyle.width 添加一个回调函数 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17137:
URL: https://github.com/apache/echarts/issues/17137#issuecomment-2153407873

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


-- 
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: commits-unsubscribe@echarts.apache.org

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