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/08/11 02:07:04 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17498: 使用dataset的雷达图,图例的联动效果不能正常触发

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

   @Jinzm 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**
   
   Using the radar chart of dataset, the linkage effect of the legend cannot be triggered normally
   
   **BODY**
   
   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   option = {
     dataset: {
       dimensions: ['product', '2015', '2016', '2017'],
       source: [
         { product: 'Matcha Latte', 2015: 10, 2016: 20, 2017: 30 },
         { product: 'Matcha123', 2015: 20, 2016: 30, 2017: 40 }
       ]
     },
     legend: {
       show: true,
       data: ['Matcha Latte', 'Matcha123']
     },
     tooltip: {
       show: true
     },
     radar: {
       indicator: [
         { max: 100, name: 2015 },
         { max: 100, name: 2016 },
         { max: 100, name: 2017 }
       ]
     },
     series: [
       {
         type: 'radar',
         name: 'Matcha Latte',
         encode: {
           value: 'product'
         }
       },
       {
         type: 'radar',
         name: 'Matcha123',
         encode: {
           value: 'product'
         }
       }
     ]
   };
   
   
   ### Current Behavior
   
   Click the legend, the corresponding radar line will not be closed, click the first legend and both lines will disappear.
   I did not find a similar example of radar map + data set in the official website
   
   ### Expected Behavior
   
   It is expected that clicking on the legend will normally display and hide the corresponding line
   
   ### Environment
   
   ````markdown
   Website 5.3.3 can trigger
   ````
   
   
   ### 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