Only call `numberOfLinesInLineChartView:` once per loop.
Merge pull request #106 from eventualbuddha/reduce-numberOfLinesInLineChartView-calls

Only call `numberOfLinesInLineChartView:` once per loop.