Kevin

Merge pull request #9 from pj4533/master

Fixes nil context errors
@@ -95,6 +95,7 @@ @@ -95,6 +95,7 @@
95 95
96 -(void)strokeChart 96 -(void)strokeChart
97 { 97 {
  98 + UIGraphicsBeginImageContext(self.frame.size);
98 99
99 UIBezierPath *progressline = [UIBezierPath bezierPath]; 100 UIBezierPath *progressline = [UIBezierPath bezierPath];
100 101
@@ -144,7 +145,7 @@ @@ -144,7 +145,7 @@
144 145
145 _chartLine.strokeEnd = 1.0; 146 _chartLine.strokeEnd = 1.0;
146 147
147 - 148 + UIGraphicsEndImageContext();
148 } 149 }
149 150
150 151