Skip to content

Commit

Permalink
Use weak for axisValueFormatter, addresses ChartsOrg#1873, ChartsOrg#…
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxuan30 committed Jan 10, 2017
1 parent 5d9c81a commit fc0e121
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 @@ -22,7 +22,7 @@ open class AxisBase: ComponentBase
}

/// Custom formatter that is used instead of the auto-formatter if set
fileprivate var _axisValueFormatter: IAxisValueFormatter?
fileprivate weak var _axisValueFormatter: IAxisValueFormatter?

open var labelFont = NSUIFont.systemFont(ofSize: 10.0)
open var labelTextColor = NSUIColor.black
Expand Down

0 comments on commit fc0e121

Please sign in to comment.