Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -88,7 +88,7 @@ You will need LLVM 3.0 or later in order to build PNChart. | @@ -88,7 +88,7 @@ You will need LLVM 3.0 or later in order to build PNChart. | ||
| 88 | 88 | ||
| 89 | //For CircleChart | 89 | //For CircleChart |
| 90 | 90 | ||
| 91 | -PNCircleChart * circleChart = [[PNCircleChart alloc] initWithFrame:CGRectMake(0, 80.0, SCREEN_WIDTH, 100.0) andTotal:[NSNumber numberWithInt:100] andCurrent:[NSNumber numberWithInt:60]]; | 91 | +PNCircleChart * circleChart = [[PNCircleChart alloc] initWithFrame:CGRectMake(0, 80.0, SCREEN_WIDTH, 100.0) andTotal:[NSNumber numberWithInt:100] andCurrent:[NSNumber numberWithInt:60] andClockwise:NO]; |
| 92 | circleChart.backgroundColor = [UIColor clearColor]; | 92 | circleChart.backgroundColor = [UIColor clearColor]; |
| 93 | [circleChart setStrokeColor:PNGreen]; | 93 | [circleChart setStrokeColor:PNGreen]; |
| 94 | [circleChart strokeChart]; | 94 | [circleChart strokeChart]; |
-
Please register or login to post a comment