Compare commits

...

2 Commits

Author SHA1 Message Date
Terry Worona 409b58c53c updated pod spec and read me 2013-12-23 18:02:30 -05:00
Terry Worona 0b6108dea8 resolved #4 | removed bar shadow from bar chart subviews 2013-12-23 17:50:20 -05:00
3 changed files with 4 additions and 10 deletions
+1 -7
View File
@@ -139,13 +139,7 @@ static UIColor *kJBBarChartViewDefaultBarColor = nil;
barView.backgroundColor = kJBBarChartViewDefaultBarColor;
}
CGFloat height = [self normalizedHeightForRawHeight:[self.chartDataDictionary objectForKey:key]];
barView.frame = CGRectMake(xOffset, self.bounds.size.height - height - self.footerView.frame.size.height + self.headerPadding, [self barWidth], height + kJBBarChartViewPopOffset - self.headerPadding);
barView.layer.shadowColor = [UIColor blackColor].CGColor;
barView.layer.shadowOffset = CGSizeMake(0, 0);
barView.layer.shadowOpacity = 0.4;
barView.layer.shadowRadius = 1.0;
barView.frame = CGRectMake(xOffset, self.bounds.size.height - height - self.footerView.frame.size.height + self.headerPadding, [self barWidth], height + kJBBarChartViewPopOffset - self.headerPadding);
[mutableBarViews addObject:barView];
// Add new bar
+2 -2
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "JBChartView"
s.version = "1.0.2"
s.version = "1.0.3"
s.summary = "Jawbone's iOS-based charting library for both line and bar graphs."
s.homepage = "https://github.com/Jawbone/JBChartView"
@@ -8,7 +8,7 @@ Pod::Spec.new do |s|
s.author = { "Terry Worona" => "tworona@jawbone.com" }
s.source = {
:git => "https://github.com/Jawbone/JBChartView.git",
:tag => "v1.0.2"
:tag => "v1.0.3"
}
s.platform = :ios, '7.0'
+1 -1
View File
@@ -36,7 +36,7 @@ Simply add the following line to your <code>Podfile</code>:
Your Podfile should look something like:
platform :ios, '7.0'
pod 'JBChartView', '~> 1.0.2'
pod 'JBChartView', '~> 1.0.3'
### The Old School Way