Merge pull request #103 from nathanpeles/master
Allow margin for inflexion points when no labels
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -260,7 +260,7 @@ | @@ -260,7 +260,7 @@ | ||
| 260 | if (!_showLabel) { | 260 | if (!_showLabel) { |
| 261 | _chartCavanHeight = self.frame.size.height - 2 * _yLabelHeight; | 261 | _chartCavanHeight = self.frame.size.height - 2 * _yLabelHeight; |
| 262 | _chartCavanWidth = self.frame.size.width; | 262 | _chartCavanWidth = self.frame.size.width; |
| 263 | - _chartMargin = 0.0; | 263 | + _chartMargin = chartData.inflexionPointWidth; |
| 264 | _xLabelWidth = (_chartCavanWidth / ([_xLabels count] - 1)); | 264 | _xLabelWidth = (_chartCavanWidth / ([_xLabels count] - 1)); |
| 265 | } | 265 | } |
| 266 | 266 |
-
Please register or login to post a comment