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/03/09 01:47:36 UTC

[GitHub] [echarts] helgasoft commented on issue #6259: brush 功能除了多个图放在一个对象内用 brushLink 进行绑定,是否有 API 可以支持主图上框选后在其他选择特定的点进行显示?

helgasoft commented on issue #6259:
URL: https://github.com/apache/echarts/issues/6259#issuecomment-793254953


   Renewing this request for enhancement.  
   Looks like currently (v.5) there are *action* equivalents [brush](https://echarts.apache.org/en/api.html#action.brush.brush) and [brushEnd](https://echarts.apache.org/en/api.html#action.brush.brushEnd) for *events* [brush](https://echarts.apache.org/en/api.html#events.brush) and [brushEnd](https://echarts.apache.org/en/api.html#events.brushEnd), but **no action brushselected** for event [brushselected](https://echarts.apache.org/en/api.html#events.brushselected).  
   It would be helpful to have it with similar format:
   ```
   chart.dispatchAction({ 
      type: 'brushselected', 
      selection: [ 
             { seriesIndex: number,  dataIndex: [] },
             { seriesIndex: 0,  dataIndex: [1,2,3,5] } 
      ] 
   });
   ````


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

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