Sign in to follow this  
rouven

Pie-Chart Rotation Trigger/event

Recommended Posts

Whenever the user turns the (Pie/doughnut) chart, I would like to save the current angle for the next time.

Is FC provided for an event which is triggered in this case?

And how I can get die Angle? FusionCharts('myID').getChartAttribute('startingAngle') return 'undefined'

 

 

thx

Edited by rouven

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

The feature which you are looking for is not available. There is no event/function to capture the current angle of pie-chart whenever it is turned.

 

The startingAngle attribute lets you configure the angle of pie chart only i.e., the first pie slice starts plotting from 0 degree angle. If you want to change the starting angle of the chart, use this attribute.

 

It obeys the conventions of co-ordinate geometry where 0 degrees means hand of a clock at 3. Starting angle Increases anti-clockwise.

 

By default, the pie chart starts from angle 0 degree.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this