[](https://travis-ci.org/Donovan Crewe/DCRadialGraph)
To run the example project, clone the repo, and run pod install
from the Example directory first.
DCRadialGraph is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DCRadialGraph"
totalSegments: Int
The total amount of segments in the graph
counter: Int
The current amount eg.(23/100)
arcOffset: CGFloat
The starting point of the graph.
arcColor: UIColor
The color of filled segments in the graph.
arcBgColor: UIColor
The color of the background (Full circle).
arcWidth: CGFloat
The width of the graphs ring. Default 3pt
duration: CGFloat
The duration of the graphs animation Default 3sec
clockwise: Bool
Whether the graph should animate clockwise or not Default false
percentFont:UIFont
The font which the percent label should be. Currently the size is calculated based in the size if the graph. The color of the font is set by the general tintColor
autoLabel:Bool
Whether it should have a percent label or not Deafult true
Donovan Crewe, [email protected]
DCRadialGraph is available under the MIT license. See the LICENSE file for more info.