Skip to content

Commit

Permalink
Properties on axis renderers to Objc (Fixes ChartsOrg#4800)
Browse files Browse the repository at this point in the history
This makes the three public properties on XAxisRenderer and YAxisRenderer, available for access from Objc.
  • Loading branch information
SLambrakis authored and mmazzei committed Feb 1, 2023
1 parent 25c94a7 commit 4a37614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Source/Charts/Renderers/XAxisRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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?)
{
Expand Down
6 changes: 3 additions & 3 deletions Source/Charts/Renderers/YAxisRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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?)
{
Expand Down

0 comments on commit 4a37614

Please sign in to comment.