You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "li942475402 (via GitHub)" <gi...@apache.org> on 2023/03/08 13:20:58 UTC

[GitHub] [echarts] li942475402 commented on issue #18343: [Feature] 是否支持不同series的不同dataIndex高亮?

li942475402 commented on issue #18343:
URL: https://github.com/apache/echarts/issues/18343#issuecomment-1460148093

   There are two ways to solve this problem, either by passing in the name parameter, which may cause problems with the same name, make sure your data has a unique name, or by making multiple calls, each handling only one series
   
   for example:
   ```typescript
   let series1data = [
   {name:'A',value:1},
   {name:'B',value:2}
   ]
   
   let series2data=[
   {name:'C',value:3}
   ]
   
   myChart.dispatchAction({
   type:'highlight',
   name:['A','B','C']
   })
   ```


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