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

[GitHub] [echarts] wanghaiqiangk commented on issue #14258: Brush (lineX, lineY) selection values are not available with line charts

wanghaiqiangk commented on issue #14258:
URL: https://github.com/apache/echarts/issues/14258#issuecomment-1545418806

   > Thank you for adding this a milestone.
   > 
   > As a workaround (in case anyone encountered the same issue) - I'm using `params.areas[0].coordRange` to get the selected range. Not perfect but could work is some cases.
   
   Thanks. Although this trick is very limited, it does help in my situation. My xAxis is a time type. I want to use brush to select an area and calculate its duration. In such case, the `coordRange` is enough to do the calculation. But you need to change brush option from _global_ to _specific coordinate_ with `brush. xAxisIndex`.
   
   And, please consider to implement this feature, team :+1: 
   


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