Skip to content

Commit

Permalink
fix bar chart in demo that date starts at 0. It should be 1 or the fi…
Browse files Browse the repository at this point in the history
…rst value will be 0.0

this address the first issue in ChartsOrg#1639
  • Loading branch information
liuxuan30 committed Oct 12, 2016
1 parent 5d54cfd commit ac88607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChartsDemo/Classes/Demos/BarChartViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ - (void)updateChartData

- (void)setDataCount:(int)count range:(double)range
{
double start = 0.0;
double start = 1.0;

NSMutableArray *yVals = [[NSMutableArray alloc] init];

Expand Down

0 comments on commit ac88607

Please sign in to comment.