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 2019/10/27 19:24:54 UTC

[GitHub] [incubator-echarts] 100pah commented on issue #11144: echarts.connect is broken when a chart with multiple series is linked with a chart with single series

100pah commented on issue #11144: echarts.connect is broken when a chart with multiple series is linked with a chart with single series
URL: https://github.com/apache/incubator-echarts/issues/11144#issuecomment-546725281
 
 
   Provide some info about this issue:
   
   ![image](https://user-images.githubusercontent.com/1956569/67639892-751b9880-f930-11e9-9219-8f29396bbeae.png)
   
   ![image](https://user-images.githubusercontent.com/1956569/67639888-659c4f80-f930-11e9-8090-ee33caaccb3b.png)
   
   Now the question is:
   `connect` works based on `chart.makeActionFromEvent`. But `connect` is a common feature and use a common way to generate an action from a event. That is, current connect do not know how the charts should be connected accurately. It just use a fuzzy way to connect charts.
   
   To solve this problem, probably their are two ways:
   
   (1) If `connect` do not match the requirement of users accurately, do not use `connect`, but connect charts manually. That is, listen to one chart and convert the `event` to `action parameters` manually (with user customized convert logic) and call `dispatchAction` to the other charts.
   The backwards of the way is that it probably brings lot of burden to users to listen every events the needed (for example, including `highlight/downplay`, `updateAxisPointer`, `hideTip`, ...)
   
   (2) Enhance the current `connect` feature. Enable it to customize the `chart.makeActionFromEvent` by users.
   
   (3) Any other ideas?
   
   @Ovilia @yufeng04 @pissang @The-only 
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org