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 2020/06/30 09:30:28 UTC

[GitHub] [incubator-echarts] ferrydjing opened a new issue #12869: echarts tree图单个节点设置linestyle无效

ferrydjing opened a new issue #12869:
URL: https://github.com/apache/incubator-echarts/issues/12869


   ### Version
   4.7.0
   
   ### Reproduction link
   [https://codepen.io/ferrydjing/project/editor/ZMvYEp](https://codepen.io/ferrydjing/project/editor/ZMvYEp)
   
   ### Steps to reproduce
   如codepen中的例子,当data中节点有children的设置linestyle是有效的,但是没有children的节点设置则不生效
   
   ### What is expected?
   单个节点设置lineStyle
   
   ### What is actually happening?
   实际单个节点linestyle不生效
   
   <!-- This issue is generated by echarts-issue-helper. 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] [incubator-echarts] ferrydjing edited a comment on issue #12869: echarts tree图单个节点设置linestyle无效

Posted by GitBox <gi...@apache.org>.
ferrydjing edited a comment on issue #12869:
URL: https://github.com/apache/incubator-echarts/issues/12869#issuecomment-651686990


   > 看起来像是个bug,不过[文档](https://echarts.apache.org/zh/option.html#series-tree.data)中似乎并未提及可以为单个data设置 `lineStyle`,只有对整个系列生效的 [`lineStyle`](https://echarts.apache.org/zh/option.html#series-tree.lineStyle)
   > 或者是我错过了什么?
   
   文档确实是没有提及给单个data设置 `lineStyle`, 但是实际使用是可以设置children的`lineStyle`.


----------------------------------------------------------------
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] [incubator-echarts] ferrydjing commented on issue #12869: echarts tree图单个节点设置linestyle无效

Posted by GitBox <gi...@apache.org>.
ferrydjing commented on issue #12869:
URL: https://github.com/apache/incubator-echarts/issues/12869#issuecomment-651686990


   > 看起来像是个bug,不过[文档](https://echarts.apache.org/zh/option.html#series-tree.data)中似乎并未提及可以为单个data设置 `lineStyle`,只有对整个系列生效的 [`lineStyle`](https://echarts.apache.org/zh/option.html#series-tree.lineStyle)
   > 或者是我错过了什么?
   
   文档确实是没有提及给单个data设置 `lineStyle`, 但是实际使用是可以设置的。不清楚是否是支持的


----------------------------------------------------------------
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] [incubator-echarts] CodeBogey commented on issue #12869: echarts tree图单个节点设置linestyle无效

Posted by GitBox <gi...@apache.org>.
CodeBogey commented on issue #12869:
URL: https://github.com/apache/incubator-echarts/issues/12869#issuecomment-656429671


   data.children[i].lineStyle = {
             color: '#2b3878',
             width: 2
   }
   这样也可以单个设置


----------------------------------------------------------------
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] [incubator-echarts] plainheart commented on issue #12869: echarts tree图单个节点设置linestyle无效

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


   看起来像是个bug,不过[文档](https://echarts.apache.org/zh/option.html#series-tree.data)中似乎并未提及可以为单个data设置 `lineStyle`,只有对整个系列生效的 [`lineStyle`](https://echarts.apache.org/zh/option.html#series-tree.lineStyle)
   或者是我错过了什么?


----------------------------------------------------------------
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] [incubator-echarts] echarts-bot[bot] commented on issue #12869: echarts tree图单个节点设置linestyle无效

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


   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 questions.
   
   If you are interested in the project, you may also subscribe our [mail 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] [incubator-echarts] ferrydjing commented on issue #12869: echarts tree图单个节点设置linestyle无效

Posted by GitBox <gi...@apache.org>.
ferrydjing commented on issue #12869:
URL: https://github.com/apache/incubator-echarts/issues/12869#issuecomment-656451623


   > data.children[i].lineStyle = {
   > color: '#2b3878',
   > width: 2
   > }
   > 这样也可以单个设置
   
   这样应该不行吧,这种和我的用法没有区别的样子


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