VRGsoftUA/SMDiagramView

Chart size

Opened this issue · 1 comments

Hi,

I implemented the arc chart with 2 segment and its size it too small. How can I increase the size of the chart?

You can change the starting and ending angle of the chart by setting the startAngle and endAngle variables.

And also change the proportion of each segment by returning the value from the delegate function diagramView: proportionForSegmentAtIndex :. By default, the digram is divided into equal parts.

The radius of the diagram can be specified using the radiusOfSegments variable or by returning the value from the delegate function diagramView: radiusForSegmentAtIndex: proportion: angle: for each segment.