You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "echarts-bot[bot] (via GitHub)" <gi...@apache.org> on 2023/05/24 07:22:37 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #18663: [Bug] 雷达图series有数据但是indicator没数据会报错

echarts-bot[bot] commented on issue #18663:
URL: https://github.com/apache/echarts/issues/18663#issuecomment-1560584900

   @895433995 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**
   
   [Bug] If the radar series has data but the indicator has no data, an error will be reported
   
   **BODY**
   
   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/gracious-leftpad-kxv68d
   
   ### Steps to Reproduce
   
   option = {
     radar: {
       indicator: [],
     },
     series: {
       data: [
         {
           name: 'Number of conversations',
           value: ['28', '25', '29'],
         }
       ],
       type: 'radar'
     },
     tooltip: {
       show: true,
       trigger: 'item'
     }
   }
   
   ### Current Behavior
   
   ![image](https://github.com/apache/echarts/assets/39820191/fb0411d9-ac01-455b-a89e-f72ebf1d6de4)
   
   
   ### Expected Behavior
   
   I hope no error will be reported. Now the solution is to clear the series data when the indicator has no data.
   
   ### 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