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 2021/06/29 11:36:21 UTC

[GitHub] [echarts] pissang commented on issue #15260: selectedMode= single is bug

pissang commented on issue #15260:
URL: https://github.com/apache/echarts/issues/15260#issuecomment-870518002


   Yeah, it's a known issue. The reason is that data on the category axis will be assigned the category as its name. And data with the same name will be selected together. 
   
   Currently the solution is give each data a unique name:
   ```ts
   let uniqueId = ''
   map[key].push({
             name: 'id_' + uniqueId++,
             value: [i, keys.length - 1 - j, f ? f.statistic : 0]
            });
   ```


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