Skip to content

Commit

Permalink
fix wrong assignment to axisMaxLabels property
Browse files Browse the repository at this point in the history
  • Loading branch information
ggirotto committed Oct 28, 2018
1 parent 3b07904 commit d59b2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Charts/Components/AxisBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d59b2d8

Please sign in to comment.