ChartsOrg / Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Apache License 2.0
27.51k stars 5.99k forks source link

Multi-Level pie charts like sunburst pie chart #2516

Open RajIET opened 7 years ago

RajIET commented 7 years ago

sunburst-chart Hi, I want to know about how can we create multiple level pie charts. As I have gone through the APIs I am not able to find out how to draw multi-level pie chart like sunburst pie chart.

RajIET commented 7 years ago

Hi, Anyone have implemented then multi-level pie chart please share your code snippet. As I have read about the APIs I have not found any point where multi-level pie chart is described. Earlier response is applicable.

Thanks.

liuxuan30 commented 7 years ago

It's not supported as looks like it takes a decent extra work to do this.

RajIET commented 7 years ago

@liuxuan30 How can I render Piechart in full View as view size is. ie. full view mode ?

RajIET commented 7 years ago

It is good to support multi-level pie and have huge difference as no other lib supporting the multi-level pie chart. @liuxuan30 Thanks.

RajIET commented 7 years ago

I Do change let margin:CGFloat = 0 _circleBox = CGRect(x: margin, y: margin, width: self.bounds.size.width - 2 margin, height: self.bounds.size.height - 2 margin) Click on slices is misplaced. I think it is due to centeroffset

kramesh486 commented 4 years ago

Is there any solution? I am also looking for the same.

liuxuan30 commented 4 years ago

not gonna happen if no one implements this. It's totally doable by this framework, but requires a decent time to work it out. Currently we don't have man power to support any kind of new chart types.