From d59b2d8a78263a30c59a1bc1004c6d0b252b9cb9 Mon Sep 17 00:00:00 2001 From: Guilherme Girotto Date: Sun, 28 Oct 2018 08:51:05 -0300 Subject: [PATCH] fix wrong assignment to axisMaxLabels property --- Source/Charts/Components/AxisBase.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Charts/Components/AxisBase.swift b/Source/Charts/Components/AxisBase.swift index 56d56b9c82..b57c59dbb3 100644 --- a/Source/Charts/Components/AxisBase.swift +++ b/Source/Charts/Components/AxisBase.swift @@ -220,7 +220,7 @@ open class AxisBase: ComponentBase /// The maximum number of labels on the axis @objc open var axisMaxLabels = Int(25) { - didSet { axisMinLabels = axisMaxLabels > 0 ? axisMaxLabels : oldValue } + didSet { axisMaxLabels = axisMaxLabels > 0 ? axisMaxLabels : oldValue } } /// the number of label entries the axis should have