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:47:05 UTC

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

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