Using the Pie chart coordinates with the Horizontal 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 sudarshan on 14th March 2017
How can i push the coord x and coordy values to the pie chart and h-bar chart for the tooltip position i am using line chart quard position it's perfectly done i need to do same thing for the pie and h-bar charts in pie charts coords are empty please send me the modified code
Posted by Richard on 14th March 2017
Hi there,

IIRC the Pie chart "coordinates" are held in the obj.angles variable, but other than that - I can't tell what you're asking.

You can read this to determine the format of the angles object:

www.rgraph.net/canvas/docs/pie.html#getshape





Richard

Please remember to link to the RGraph website!
www.rgraph.net/backlink

Add a reply

Important!
If you're writing to say "thanks for the help!" I'd really appreciate it if you could link to the RGraph website and/or mention RGraph on social media. There's more information if you click on this link. Thanks.

 




« Back to message list
If you like RGraph please share it: