Rotating a Pie chart

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 James on 5th April 2013
How do you make a pie chart rotate to a defined deg, keeping titles the right way up? Is there a way to do this with RGraph? Thanks
Posted by RGraph support on 5th April 2013
Hi there,

You can rotate the canvas before you draw the chart, but everything gets rotated - including titles. The angle is measured in radians, not degrees and there are functions in RGraph to make the conversion easier:

radians = RGraph.degrees2Radians(degrees)




Richard

Add a reply




« Back to message list