RGraph and click event on bar highlights the complete Bar chart


« 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 Rajesh on 7th March 2013
Hi

I am displaying bar graph. The bar graph is displayed on Android/iPhone devices using titanium appcelerator.

In the bar graph, when click event is handled for the graph, the complete Graph object gets selected (with gray color and border) for few seconds. This behavior is not produced when the html page is opened in browser.

How one can avoid that complete object selection ?

-Rajesh
Posted by RGraph support on 7th March 2013
Hi there,

I don't have Titanium to test with - but you may want to try canceling the event which you may be able to do with this:

canvas.onclick = function (e)
{
     e.stopPropagation();
}


Richard, RGraph Support

1 Year Priority Support now reduced to £299:
   www.rgraph.net/support

Add a reply

 




« Back to message list
RGraph on social media