Rotating a Pie chart

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 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)

There's also this example of a rotating Rose chart which may interest you:

Richard, RGraph Support

1 Year Priority Support now reduced to £299:

Add a reply

« Back to message list