Manish Jain
Manish Jain

Reputation: 865

Core Data slice plotting style

I need to plot pie chart using core plot in following slice way i.e slice at some distance.

please suggest me some way.

enter image description here

Upvotes: 0

Views: 370

Answers (2)

Eric Skroch
Eric Skroch

Reputation: 27381

Implement the following method in your datasource:

-(CGFloat)radialOffsetForPieChart:(CPTPieChart *)pieChart
                      recordIndex:(NSUInteger)index;

See the donut chart example in the Plot Gallery app for a sample.

Upvotes: 1

B25Dec
B25Dec

Reputation: 2377

i hope if it helps you Using Core Plot in an iPhone Application

Upvotes: 1

Related Questions