Skip to content

Commit

Permalink
Merge pull request #497 from danielgindi/revert-489-master
Browse files Browse the repository at this point in the history
Revert "BUGFIX:fix xAxis labels of bar chart"
  • Loading branch information
danielgindi committed Oct 23, 2015
2 parents b3bf550 + bd49f9b commit 4ae557c
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 = viewPortHandler.offsetLeft + (width / 2.0)
position.x += width / 2.0
}
}

Expand Down

0 comments on commit 4ae557c

Please sign in to comment.