Skip to content

Commit

Permalink
Update JBBarChartView.m
Browse files Browse the repository at this point in the history
  • Loading branch information
pala committed May 14, 2014
1 parent ea531e3 commit a6ea0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/JBBarChartView.m
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ - (void)reloadData

CGFloat height = [self normalizedHeightForRawHeight:[self.chartDataDictionary objectForKey:key]];
CGFloat extensionHeight = height > 0.0 ? kJBBarChartViewPopOffset : 0.0;
barView.frame = CGRectMake(xOffset, self.bounds.size.height - height - self.footerView.frame.size.height + self.headerPadding, [self barWidth], height + extensionHeight);
barView.frame = CGRectMake(xOffset, self.bounds.size.height - height - self.footerView.frame.size.height, [self barWidth], height + extensionHeight);
[mutableBarViews addObject:barView];

// Add new bar
Expand Down

0 comments on commit a6ea0c3

Please sign in to comment.