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/12/02 06:05:19 UTC

[GitHub] [incubator-echarts] scottKobai opened a new issue #9942: Emphasis line style options do not work on Sankey charts

scottKobai opened a new issue #9942: Emphasis line style options do not work on Sankey charts
URL: https://github.com/apache/incubator-echarts/issues/9942
 
 
   ### Version
   4.2.1-rc1
   
   ### Reproduction link
   [https://ecomfe.github.io/echarts-examples/public/editor.html?c=sankey-simple](https://ecomfe.github.io/echarts-examples/public/editor.html?c=sankey-simple)
   
   
   
   
   
   
   
   ### Steps to reproduce
   Add the emphasis styling code to any link object.
   
   ```
   option = {
       series: {
           type: 'sankey',
           layout:'none',
           focusNodeAdjacency: 'allEdges',
           data: [{
               name: 'a'
           }, {
               name: 'b'
           }, {
               name: 'a1'
           }, {
               name: 'a2'
           }, {
               name: 'b1'
           }, {
               name: 'c'
           }],
           links: [{
               source: 'a',
               target: 'a1',
               value: 5,
               emphasis: {
                   lineStyle: {
                       color: '#ff0000',
                       opacity: .99
                   }
               }
           }, {
               source: 'a',
               target: 'a2',
               value: 3
           }, {
               source: 'b',
               target: 'b1',
               value: 8
           }, {
               source: 'a',
               target: 'b1',
               value: 3
           }, {
               source: 'b1',
               target: 'a1',
               value: 1
           }, {
               source: 'b1',
               target: 'c',
               value: 2
           }]
       }
   };
   ```
   
   ### What is expected?
   The link from a -> a1 should be red with 99% opacity when you hover.
   
   ### What is actually happening?
   The styling of the link remains set to default.
   
   <!-- 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


With regards,
Apache Git Services

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