Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Aug 5, 2015
1 parent f858a0d commit 8cfefdb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Charts/Classes/Charts/BarChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ public class BarChartView: BarLineChartViewBase, BarChartRendererDelegate
// extend xDelta to make space for multiple datasets (if ther are one)
_deltaX *= CGFloat(_data.dataSetCount)

var maxEntry = barData.xValCount

var groupSpace = barData.groupSpace
_deltaX += CGFloat(maxEntry) * groupSpace
_deltaX += CGFloat(barData.xValCount) * groupSpace
_chartXMax = Double(_deltaX) - _chartXMin
}

Expand Down

0 comments on commit 8cfefdb

Please sign in to comment.