Bar chart onclick event

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 Pallavi on 13th September 2013

In bar chart,stacked bar and pie chart on onclick can I get key name or label or x-axis label associated for that bar in bar char chart,for that stack in stack bar chart and part of that pie chart.

Posted by RGraph support on 13th September 2013
Hi there,

You can - one of the properties of the 'shape' variable is the index - which you then use with original properties:

Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99

Add a reply

« Back to message list