Skip to content

Commit

Permalink
Fix dataset update in Dual line chart demo (Fixes #1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Aug 14, 2016
1 parent d723224 commit e628b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChartsDemo/Classes/Demos/LineChart2ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ - (void)setDataCount:(int)count range:(double)range
set2.drawCircleHoleEnabled = NO;

NSMutableArray *dataSets = [[NSMutableArray alloc] init];
[dataSets addObject:set2];
[dataSets addObject:set1];
[dataSets addObject:set2];

LineChartData *data = [[LineChartData alloc] initWithDataSets:dataSets];
[data setValueTextColor:UIColor.whiteColor];
Expand Down

0 comments on commit e628b7a

Please sign in to comment.