From 4a3761450e7825f2c939890364006904331cecac Mon Sep 17 00:00:00 2001 From: Sophie Lambrakis Date: Fri, 25 Mar 2022 12:05:50 +0000 Subject: [PATCH] Properties on axis renderers to Objc (Fixes #4800) This makes the three public properties on XAxisRenderer and YAxisRenderer, available for access from Objc. --- Source/Charts/Renderers/XAxisRenderer.swift | 6 +++--- Source/Charts/Renderers/YAxisRenderer.swift | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Charts/Renderers/XAxisRenderer.swift b/Source/Charts/Renderers/XAxisRenderer.swift index a20be3818d..966bf3b7e1 100644 --- a/Source/Charts/Renderers/XAxisRenderer.swift +++ b/Source/Charts/Renderers/XAxisRenderer.swift @@ -16,9 +16,9 @@ import CoreGraphics @objc(ChartXAxisRenderer) open class XAxisRenderer: NSObject, AxisRenderer { - public let viewPortHandler: ViewPortHandler - public let axis: XAxis - public let transformer: Transformer? + @objc public let viewPortHandler: ViewPortHandler + @objc public let axis: XAxis + @objc public let transformer: Transformer? @objc public init(viewPortHandler: ViewPortHandler, axis: XAxis, transformer: Transformer?) { diff --git a/Source/Charts/Renderers/YAxisRenderer.swift b/Source/Charts/Renderers/YAxisRenderer.swift index e1d8bf65f5..7175ff1633 100644 --- a/Source/Charts/Renderers/YAxisRenderer.swift +++ b/Source/Charts/Renderers/YAxisRenderer.swift @@ -16,9 +16,9 @@ import CoreGraphics @objc(ChartYAxisRenderer) open class YAxisRenderer: NSObject, AxisRenderer { - public let viewPortHandler: ViewPortHandler - public let axis: YAxis - public let transformer: Transformer? + @objc public let viewPortHandler: ViewPortHandler + @objc public let axis: YAxis + @objc public let transformer: Transformer? @objc public init(viewPortHandler: ViewPortHandler, axis: YAxis, transformer: Transformer?) {