Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -159,14 +159,14 @@ | @@ -159,14 +159,14 @@ | ||
| 159 | 159 | ||
| 160 | NSArray *items = @[[PNPieChartDataItem dataItemWithValue:10 color:PNRed], | 160 | NSArray *items = @[[PNPieChartDataItem dataItemWithValue:10 color:PNRed], |
| 161 | [PNPieChartDataItem dataItemWithValue:20 color:PNBlue description:@"WWDC"], | 161 | [PNPieChartDataItem dataItemWithValue:20 color:PNBlue description:@"WWDC"], |
| 162 | - [PNPieChartDataItem dataItemWithValue:40 color:PNGreen description:@"Google I/O"], | 162 | + [PNPieChartDataItem dataItemWithValue:40 color:PNGreen description:@"GOOL I/O"], |
| 163 | ]; | 163 | ]; |
| 164 | 164 | ||
| 165 | 165 | ||
| 166 | 166 | ||
| 167 | - PNPieChart *pieChart = [[PNPieChart alloc] initWithFrame:CGRectMake(0, 135.0, SCREEN_WIDTH, SCREEN_WIDTH) items:items]; | 167 | + PNPieChart *pieChart = [[PNPieChart alloc] initWithFrame:CGRectMake(40.0, 155.0, 240.0, 240.0) items:items]; |
| 168 | pieChart.descriptionTextColor = [UIColor whiteColor]; | 168 | pieChart.descriptionTextColor = [UIColor whiteColor]; |
| 169 | - pieChart.descriptionTextFont = [UIFont fontWithName:@"Avenir-Medium" size:18.0]; | 169 | + pieChart.descriptionTextFont = [UIFont fontWithName:@"Avenir-Medium" size:14.0]; |
| 170 | [pieChart strokeChart]; | 170 | [pieChart strokeChart]; |
| 171 | 171 | ||
| 172 | 172 |
-
Please register or login to post a comment