Browse Source

Merge pull request #4898 from erkanyildiz/yoffset_documentation_typo

Fix yOffset documentation typo
Pierre-Marc Airoldi 2 years ago
parent
commit
19eaf62fba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Charts/Components/ComponentBase.swift

+ 1 - 1
Source/Charts/Components/ComponentBase.swift

@@ -24,7 +24,7 @@ open class ComponentBase: NSObject
     /// **default**: 5.0
     @objc open var xOffset = CGFloat(5.0)
     
-    /// The offset this component has on the x-axis
+    /// The offset this component has on the y-axis
     /// **default**: 5.0 (or 0.0 on ChartYAxis)
     @objc open var yOffset = CGFloat(5.0)