diff --git a/Source/Charts/Charts/BarLineChartViewBase.swift b/Source/Charts/Charts/BarLineChartViewBase.swift index 747120718f..cc61772271 100644 --- a/Source/Charts/Charts/BarLineChartViewBase.swift +++ b/Source/Charts/Charts/BarLineChartViewBase.swift @@ -389,17 +389,9 @@ open class BarLineChartViewBase: ChartViewBase, BarLineScatterCandleBubbleChartD { case .top: offsetTop += min(_legend.neededHeight, _viewPortHandler.chartHeight * _legend.maxSizePercent) + _legend.yOffset - if xAxis.isEnabled && xAxis.isDrawLabelsEnabled - { - offsetTop += xAxis.labelRotatedHeight - } case .bottom: offsetBottom += min(_legend.neededHeight, _viewPortHandler.chartHeight * _legend.maxSizePercent) + _legend.yOffset - if xAxis.isEnabled && xAxis.isDrawLabelsEnabled - { - offsetBottom += xAxis.labelRotatedHeight - } default: break