Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4246192
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:56:27+00:00 2026-05-21T03:56:27+00:00

In the iPhone application Roambi, the pie chart shown can be animated to rotate

  • 0

In the iPhone application Roambi, the pie chart shown can be animated to rotate with the user as if rotating a disc. We can hold and do lot of stuff with that.

Someone mentioned that the Roambi app was developed using core-plot library:

What library use Roambi app iPhone to draw chart?

How can I manipulate a pie chart developed using Core plot?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T03:56:27+00:00Added an answer on May 21, 2026 at 3:56 am

    A quick look at the Core Plot source code reveals that CPPieChart‘s inheritance looks like this:

    CPPieChart : CPPlot : CPAnnotationHostLayer : CPLayer : CALayer

    So you can see that in the end, CPPieChart is just a heavily subclassed CALayer. I might be entirely incorrect here, but there’s nothing that indicates that this can’t be animated like any other CALayer. Try the following code to rotate the layer by 360 degrees:

    CABasicAnimation *rotation = [CABasicAnimation animationWithKeyPath:@"transform"];
    CATransform3D transform = CATransform3DMakeRotation(DegreesToRadians(360), 0, 0, 1);
    rotation.toValue = [NSValue valueWithCATransform3D:transform];
    rotation.duration = 10.0f;
    [pieChart addAnimation:rotation forKey:@"rotation"];
    

    If you can get this working then its just a matter of reading the values from the accelerometer and converting them to rotation angles.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my iPhone application I have a table view. When user taps any row,
My iphone application is showing strange behavior when rotating: a gap appears between the
iam developing iPhone application that allow user to define stations near to him, so
My iPhone application is navigation-based and contains a lot of portrait-only views and one
I am starting an iPhone application, and I can't seem to get the main
In My iphone application i have two XML files. I can parse one.xml eailsy
My iphone application can run on devices with iOS 4 & greater + multithreading
I'm creating an iPhone application that requires a user entering information into a form,
My iPhone application downloads large files from the internet (videos, for instance). I'd like
My iPhone application has several views and some viewControllers for that views. I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.