when the vline of crosshairs move,how tooltips show?

Share RGraph:   Share or Like RGraph on Facebook!

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by yj on 1st November 2012
when the vline of crosshairs move to the tooltips of line chart ,how to show the information of tooltips on the intersection? Thx!!!
Posted by RGraph support on 1st November 2012
Hi,

Since crosshairs require redrawing the canvas - and redrawing will hide the tooltip - tooltips do not work in-conjunction with crosshairs I'm afraid. You might be able to get something working by totally handling the tooltips yourself with the chart.tooltips.override option, like this:

function myTootip ()
{
     // This will show you the arguments being passed to the function
     console.log(arguments);
}
myChart.Set('chart.tooltips.override', myTooltip);

Add a reply




« Back to message list