diff --git a/Source/Charts/Charts/BarChartView.swift b/Source/Charts/Charts/BarChartView.swift index c4d998e6fd..f327e594cc 100644 --- a/Source/Charts/Charts/BarChartView.swift +++ b/Source/Charts/Charts/BarChartView.swift @@ -39,7 +39,7 @@ open class BarChartView: BarLineChartViewBase, BarChartDataProvider { _xAxis.calculate( min: data.xMin - data.barWidth / 2.0, - max: data.xMax - data.barWidth / 2.0) + max: data.xMax + data.barWidth / 2.0) } else { diff --git a/Source/Charts/Charts/PieRadarChartViewBase.swift b/Source/Charts/Charts/PieRadarChartViewBase.swift index aae6a551e4..8dd7227a99 100755 --- a/Source/Charts/Charts/PieRadarChartViewBase.swift +++ b/Source/Charts/Charts/PieRadarChartViewBase.swift @@ -829,7 +829,7 @@ open class PieRadarChartViewBase: ChartViewBase let location = recognizer.location(in: self) let high = self.getHighlightByTouchPoint(location) - self.highlightValue(high) + self.highlightValue(highlight: high, callDelegate: true) } }