You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The return value is a problem with the calculateMinimumRadiusForSpacedSlice method
To reproduce and change the - (void)setDataCount:(int)count range:(double)range method of PieChartViewController.m in the ChartsDemo project
- (void)setDataCount:(int)count range:(double)range
{
NSMutableArray *yVals1 = [[NSMutableArray alloc] init];
// IMPORTANT: In a PieChart, no values (Entry) should have the same xIndex (even if from different DataSets), since no values can be drawn above each other.
for (int i = 0; i < count; i++)
{
if (i == 0) {
[yVals1 addObject:[[BarChartDataEntry alloc] initWithValue:70000.0 xIndex:i]];
}
else {
[yVals1 addObject:[[BarChartDataEntry alloc] initWithValue:10.0 xIndex:i]];
}
}
//below, no change
}
I want to use the slice property, even if there is a great differece in the value of the BarChartDataEntry
what should i do?
The text was updated successfully, but these errors were encountered:
Hi!
The return value is a problem with the calculateMinimumRadiusForSpacedSlice method
To reproduce and change the
- (void)setDataCount:(int)count range:(double)range
method of PieChartViewController.m in the ChartsDemo projectI want to use the slice property, even if there is a great differece in the value of the BarChartDataEntry
what should i do?
The text was updated successfully, but these errors were encountered: