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

[GitHub] [echarts] 895433995 opened a new issue, #18663: [Bug] 雷达图series有数据但是indicator没数据会报错

895433995 opened a new issue, #18663:
URL: https://github.com/apache/echarts/issues/18663

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/gracious-leftpad-kxv68d
   
   ### Steps to Reproduce
   
   option = {
     radar: {
       indicator: [],
     },
     series: {
       data: [
         {
           name: '对话数',
           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
   
   希望不要报错,现在解决方式:当indicator没数据的时候将series数据也清空
   
   ### 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.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] 895433995 commented on issue #18663: [Bug] 雷达图series有数据但是indicator没数据会报错

Posted by "895433995 (via GitHub)" <gi...@apache.org>.
895433995 commented on issue #18663:
URL: https://github.com/apache/echarts/issues/18663#issuecomment-1562185049

   Thanks!This is the truth, but I feel that the page should not report an error directly


-- 
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 #18663: [Bug] 雷达图series有数据但是indicator没数据会报错

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
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


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

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18663:
URL: https://github.com/apache/echarts/issues/18663#issuecomment-1561946515

   Cannot drive a car without wheels. 
   Cannot have a chart without axis.
   [radar.indicator](https://echarts.apache.org/en/option.html#radar.indicator) is the axis of the chart. 


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