Skip to content

Commit

Permalink
Use material color template in this demo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Apr 12, 2016
1 parent 9fa89be commit c5896b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ChartsDemo/Classes/Demos/BarChartViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ - (void)setDataCount:(int)count range:(double)range
{
set1 = [[BarChartDataSet alloc] initWithYVals:yVals label:@"DataSet"];
set1.barSpace = 0.35;
[set1 setColors:ChartColorTemplates.material];

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

0 comments on commit c5896b6

Please sign in to comment.