Skip to content

Commit

Permalink
Merge pull request #3736 from SvenMuc/fix_horbarchart_legend_offset
Browse files Browse the repository at this point in the history
Fix legend offset bug for horizontal bar chart (Fixes #3301)
  • Loading branch information
liuxuan30 committed Nov 15, 2018
2 parents ce0d809 + ee7a218 commit 271606e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Charts/Charts/HorizontalBarChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ open class HorizontalBarChartView: BarChartView
guard
let legend = _legend,
legend.isEnabled,
legend.drawInside
!legend.drawInside
else { return }

// setup offsets for legend
Expand Down

0 comments on commit 271606e

Please sign in to comment.