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

[GitHub] [echarts] b09h opened a new issue, #18262: Unable to capture event on hovering the series instead of hovering data point

b09h opened a new issue, #18262:
URL: https://github.com/apache/echarts/issues/18262

   ### Version
   
   upto latest version
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1) Create line chart
   2) You can capture event on hover on data point using mouseover event, but you cannot capture on hover of series.
   3) Getting tooltip on hovering on series, but not able to capture event
   ![image](https://user-images.githubusercontent.com/60179972/218390404-72b52cee-f17a-453b-8702-010884b8b228.png)
   
   
   ### Current Behavior
   
   1) Unable to get event from series
   
   ### Expected Behavior
   
   1) Capture mouseover event on hovering on series as well as data point based on the type (series, datapoint)
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   Please add one more event to capture on hovering on the empty space inside the chart. Getting event for hovering outside of the chart i.e., globalout which won't solve my problem
   If this is not comes under bug, then please let me know. I will add in features list


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


[GitHub] [echarts] b09h commented on issue #18262: Unable to capture event on hovering the series instead of hovering data point

Posted by "b09h (via GitHub)" <gi...@apache.org>.
b09h commented on issue #18262:
URL: https://github.com/apache/echarts/issues/18262#issuecomment-1431276358

   ![image](https://user-images.githubusercontent.com/60179972/218984761-1635cb3f-1741-48db-b16d-b3b697a16506.png)
   
   Hovering on the data point got the event with data. After adding the trigger line event, i am able to capture event.
   On hovering on the series line or data point, I need the nearest data point also.
   
   


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


[GitHub] [echarts] susiwen8 commented on issue #18262: Unable to capture event on hovering the series instead of hovering data point

Posted by "susiwen8 (via GitHub)" <gi...@apache.org>.
susiwen8 commented on issue #18262:
URL: https://github.com/apache/echarts/issues/18262#issuecomment-1427440170

   https://echarts.apache.org/en/option.html#series-line.triggerLineEvent


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


[GitHub] [echarts] b09h commented on issue #18262: Need nearest point data in event on hovering on series line

Posted by "b09h (via GitHub)" <gi...@apache.org>.
b09h commented on issue #18262:
URL: https://github.com/apache/echarts/issues/18262#issuecomment-1441238436

   Ok, Its fine with 18288
   But, is it possible to get nearest data point when we hover on the series?
   


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


[GitHub] [echarts] helgasoft commented on issue #18262: Need nearest point data in event on hovering on series line

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18262:
URL: https://github.com/apache/echarts/issues/18262#issuecomment-1441288856

   Nearest point with _tooltip: {trigger:'axis'}_ - [Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2SrT2jmTAwP6QIG5gRqysVBwEtIy4eLQOJHiJEFSEsKL8xB6CwmIAjACsAAw8sABMAMy1DfUALHX15QAcdeWNlX1tAOydAGzV1qEeFNR0_hDQykV2JLZ2ANwoKAC25ADC2owcYAB0MAAUtNoQrNoLd2AyFyAAlAgAfMWwe4fHZ9kwAB5cBQaAXdwlSBgfzeJAsDBgOhCMCMACS0AEVAwiFosAA1CBTgAjZj0bSiSanFHozHY2AOWD2V5bOwsoA)


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


[GitHub] [echarts] b09h commented on issue #18262: Unable to capture event on hovering the series instead of hovering data point

Posted by "b09h (via GitHub)" <gi...@apache.org>.
b09h commented on issue #18262:
URL: https://github.com/apache/echarts/issues/18262#issuecomment-1429116625

   No. 
   Unable to capture the below (mouseover) event on hovering on series, but getting the event on hovering on data point
   https://echarts.apache.org/en/api.html#events.Mouse%20events.mouseover


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


[GitHub] [echarts] helgasoft commented on issue #18262: Unable to capture event on hovering the series instead of hovering data point

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18262:
URL: https://github.com/apache/echarts/issues/18262#issuecomment-1430698017

   yes, all you need is [triggerLineEvent](https://echarts.apache.org/en/option.html#series-line.triggerLineEvent)
   check _mouseover_ example in **Demo Code** at bottom of #2941
   


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


[GitHub] [echarts] b09h commented on issue #18262: Need nearest point data in event on hovering on series line

Posted by "b09h (via GitHub)" <gi...@apache.org>.
b09h commented on issue #18262:
URL: https://github.com/apache/echarts/issues/18262#issuecomment-1588965856

   Thank you, it worked for me! :)


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


[GitHub] [echarts] b09h closed issue #18262: Need nearest point data in event on hovering on series line

Posted by "b09h (via GitHub)" <gi...@apache.org>.
b09h closed issue #18262: Need nearest point data in event on hovering on series line
URL: https://github.com/apache/echarts/issues/18262


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


[GitHub] [echarts] b09h commented on issue #18262: Need nearest point data in event on hovering on series line

Posted by "b09h (via GitHub)" <gi...@apache.org>.
b09h commented on issue #18262:
URL: https://github.com/apache/echarts/issues/18262#issuecomment-1441257807

   Closed the ticket number #18288 & we will check/follow this thread only. Please help me to get the nearest data point.


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