From d0d26e5a92b1d52be62c8258d9a7112d70c35968 Mon Sep 17 00:00:00 2001 From: Eirik Vale Aase Date: Wed, 25 Sep 2024 13:01:55 +0200 Subject: [PATCH] Open autoScale method --- Source/Charts/Charts/BarLineChartViewBase.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Charts/Charts/BarLineChartViewBase.swift b/Source/Charts/Charts/BarLineChartViewBase.swift index 343cd6832f..7d4392cb5b 100644 --- a/Source/Charts/Charts/BarLineChartViewBase.swift +++ b/Source/Charts/Charts/BarLineChartViewBase.swift @@ -299,7 +299,7 @@ open class BarLineChartViewBase: ChartViewBase, BarLineScatterCandleBubbleChartD private var _autoScaleLastHighestVisibleX: Double? /// Performs auto scaling of the axis by recalculating the minimum and maximum y-values based on the entries currently in view. - internal func autoScale() + open func autoScale() { guard let data = data else { return }