How can I get the Bar chart key name from within an onclick event?

« 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

Add a reply

« Back to message list