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/02/24 08:46:55 UTC

[GitHub] [echarts] yaodd123 opened a new issue #16574: 桑基图option.color设置为数组,数组中颜色为空字符串时,报错

yaodd123 opened a new issue #16574:
URL: https://github.com/apache/echarts/issues/16574


   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   option  = {
         series: [
             type: 'sankey',
            ......
        ],
       color: ['red', '']
   }
   
   ### Current Behavior
   
   颜色中带有空字符串时报错,目前只发现桑基图报错,饼图、散点图等其他图表不报错。
   
   ### Expected Behavior
   
   不报错
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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 #16574: 桑基图option.color设置为数组,数组中颜色为空字符串时,报错

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


   This issue is labeled with `difficulty: easy`.
   @yaodd123 Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
   
   Please have a look at [How to debug ECharts](https://github.com/apache/echarts/blob/master/CONTRIBUTING.md#how-to-debug-echarts) if you'd like to give a try. 🤓


-- 
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 #16574: 桑基图option.color设置为数组,数组中颜色为空字符串时,报错

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


   @yaodd123 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**
   
   Sankey diagram option.color is set to an array, when the color in the array is an empty string, an error is reported
   
   **BODY**
   
   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   option  = {
         series: [
             type: 'sankey',
            ......
        ],
       color: ['red', '']
   }
   
   ### Current Behavior
   
   With an empty string in the color, errors are reported, and at present, only sankey charts are found to be error-reporting, and other charts such as pie charts and scatter charts are not reported errors.
   
   ### Expected Behavior
   
   No errors
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   _No response_
   </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


[GitHub] [echarts] pissang closed issue #16574: 桑基图option.color设置为数组,数组中颜色为空字符串时,报错

Posted by GitBox <gi...@apache.org>.
pissang closed issue #16574:
URL: https://github.com/apache/echarts/issues/16574


   


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