diff --git a/Source/Charts/Charts/HorizontalBarChartView.swift b/Source/Charts/Charts/HorizontalBarChartView.swift index ceacca0567..6ea426cf2c 100644 --- a/Source/Charts/Charts/HorizontalBarChartView.swift +++ b/Source/Charts/Charts/HorizontalBarChartView.swift @@ -39,7 +39,7 @@ open class HorizontalBarChartView: BarChartView guard let legend = _legend, legend.isEnabled, - legend.drawInside + !legend.drawInside else { return } // setup offsets for legend