Skip to content

Commit

Permalink
BUGFIX:fix xAxis labels of bar chart
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiMoron committed Oct 21, 2015
1 parent 884f86d commit e52f92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Charts/Classes/Renderers/ChartXAxisRendererBarChart.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public class ChartXAxisRendererBarChart: ChartXAxisRenderer
else if (i == 0)
{ // avoid clipping of the first
let width = label!.sizeWithAttributes(labelAttrs).width
position.x += width / 2.0
position.x = viewPortHandler.offsetLeft + (width / 2.0)
}
}

Expand Down

0 comments on commit e52f92c

Please sign in to comment.