cnfczn

How to get the plot on the vertical line when moving the mouse?

Recommended Posts

I am using a zoomline chart

I found that when moving the mouse, the vertical line changes even if the mouse does not reach the plot.

How to get the plot on the vertical line when moving the mouse?

dataplotRollOver event only when the mouse pointer is over the plot

so,how do it?

无标题.png

Share this post


Link to post
Share on other sites

Hi,

 

In Zoomline chart, the vertical crossline changes even if the mouse does not reach the plot, this is an intended behavior of the crossline feature. Also the "dataPlotRollOver" event will be triggered when the plots are hovered, and it will not be triggered when the crossline changes. You need to hover the mouse over the data plots to get the "dataPlotRollOver" event fired.

Please check the documentation of Zoomline chart for reference : https://www.fusioncharts.com/dev/chart-guide/standard-charts/zoom-line-charts

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites
On 2019/2/15 at 5:38 AM, Akash Biswas said:

Hi,

 

In Zoomline chart, the vertical crossline changes even if the mouse does not reach the plot, this is an intended behavior of the crossline feature. Also the "dataPlotRollOver" event will be triggered when the plots are hovered, and it will not be triggered when the crossline changes. You need to hover the mouse over the data plots to get the "dataPlotRollOver" event fired.

Please check the documentation of Zoomline chart for reference : https://www.fusioncharts.com/dev/chart-guide/standard-charts/zoom-line-charts

 

Thanks,

Akash.

Thank you for reply, in fact, I just need this: "intended behavior of the crossline feature" instead of "dataplotrollover" event.

Share this post


Link to post
Share on other sites

Hi,

 

The crossline changes even if the mouse does not reach the plot and also the dataPlotRollOver event will be fired when the plots are hovered. Both are separate features of crossline and data plot hover, and are not linked.

Please refer to the documentation for reference :

Zoomline : https://www.fusioncharts.com/dev/chart-guide/standard-charts/zoom-line-charts

dataPlotRollOver event : https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-events

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now