ShurupuS
ShurupuS

Reputation: 2923

Can't implement the pie chart like a ring in CorePlot

I use iOS CorePlot to implement a Pie Chart in my app.

The design is:

enter image description here

but my result is not so perfect:

enter image description here

Is there a way to make this chart like a ring and add the white space between the sections?

Upvotes: 0

Views: 848

Answers (2)

Eric Skroch
Eric Skroch

Reputation: 27381

Set the pieInnerRadius to make a ring. Use the borderLineStyle to make the white lines between the pie slices.

Upvotes: 1

ShurupuS
ShurupuS

Reputation: 2923

pieChart.pieInnerRadius 

solved the issue - thanks

Upvotes: 1

Related Questions