Michael Zischka

removed obsolete value assignment

@@ -276,7 +276,6 @@ @@ -276,7 +276,6 @@
276 } 276 }
277 277
278 if (_showLabel) { 278 if (_showLabel) {
279 - NSString *str;  
280 //drawing x steps vector and putting axis x labels 279 //drawing x steps vector and putting axis x labels
281 float temp = _startPointVectorX.x + (_vectorX_Steps / 2) ; 280 float temp = _startPointVectorX.x + (_vectorX_Steps / 2) ;
282 for (int i = 0; i < _axisX_labels.count; i++) { 281 for (int i = 0; i < _axisX_labels.count; i++) {
@@ -291,7 +290,6 @@ @@ -291,7 +290,6 @@
291 [self.horizentalLinepathLayer addObject:shapeLayer]; 290 [self.horizentalLinepathLayer addObject:shapeLayer];
292 [self.layer addSublayer:shapeLayer]; 291 [self.layer addSublayer:shapeLayer];
293 UILabel *lb = [_axisX_labels objectAtIndex:i] ; 292 UILabel *lb = [_axisX_labels objectAtIndex:i] ;
294 - str = lb.text;  
295 [self showXLabel:lb InPosition:CGPointMake(temp - 15, _startPointVectorX.y + 10 )]; 293 [self showXLabel:lb InPosition:CGPointMake(temp - 15, _startPointVectorX.y + 10 )];
296 temp = temp + _vectorX_Steps ; 294 temp = temp + _vectorX_Steps ;
297 } 295 }
@@ -309,7 +307,6 @@ @@ -309,7 +307,6 @@
309 [self.verticalLineLayer addObject:shapeLayer]; 307 [self.verticalLineLayer addObject:shapeLayer];
310 [self.layer addSublayer:shapeLayer]; 308 [self.layer addSublayer:shapeLayer];
311 UILabel *lb = [_axisY_labels objectAtIndex:i]; 309 UILabel *lb = [_axisY_labels objectAtIndex:i];
312 - str = lb.text;  
313 [self showXLabel:lb InPosition:CGPointMake(_startPointVectorY.x - 30, temp - 5)]; 310 [self showXLabel:lb InPosition:CGPointMake(_startPointVectorY.x - 30, temp - 5)];
314 temp = temp - _vectorY_Steps ; 311 temp = temp - _vectorY_Steps ;
315 } 312 }