From cc1dbcdf11ff5cddb96dfc2beec1e1c162272aef Mon Sep 17 00:00:00 2001 From: Kem Chen Date: Sun, 23 Sep 2018 00:22:38 +0800 Subject: [PATCH] Remove duplicated section --- Source/Charts/Highlight/BarHighlighter.swift | 1 - Source/Charts/Highlight/ChartHighlighter.swift | 3 --- Source/Charts/Highlight/IHighlighter.swift | 1 - 3 files changed, 5 deletions(-) diff --git a/Source/Charts/Highlight/BarHighlighter.swift b/Source/Charts/Highlight/BarHighlighter.swift index 7ab486330e..3500955ee5 100644 --- a/Source/Charts/Highlight/BarHighlighter.swift +++ b/Source/Charts/Highlight/BarHighlighter.swift @@ -94,7 +94,6 @@ open class BarHighlighter: ChartHighlighter /// - Parameters: /// - entry: /// - value: - /// - Returns: /// - Returns: The index of the closest value inside the values array / ranges (stacked barchart) to the value given as a parameter. @objc open func getClosestStackIndex(ranges: [Range]?, value: Double) -> Int { diff --git a/Source/Charts/Highlight/ChartHighlighter.swift b/Source/Charts/Highlight/ChartHighlighter.swift index 7beeece4be..6ce94a9b75 100644 --- a/Source/Charts/Highlight/ChartHighlighter.swift +++ b/Source/Charts/Highlight/ChartHighlighter.swift @@ -30,7 +30,6 @@ open class ChartHighlighter : NSObject, IHighlighter /// - Parameters: /// - x: - /// - Returns: /// - Returns: The corresponding x-pos for a given touch-position in pixels. @objc open func getValsForTouch(x: CGFloat, y: CGFloat) -> CGPoint { @@ -44,7 +43,6 @@ open class ChartHighlighter : NSObject, IHighlighter /// - xValue: /// - x: /// - y: - /// - Returns: /// - Returns: The corresponding ChartHighlight for a given x-value and xy-touch position in pixels. @objc open func getHighlight(xValue xVal: Double, x: CGFloat, y: CGFloat) -> Highlight? { @@ -67,7 +65,6 @@ open class ChartHighlighter : NSObject, IHighlighter /// - xValue: the transformed x-value of the x-touch position /// - x: touch position /// - y: touch position - /// - Returns: /// - Returns: A list of Highlight objects representing the entries closest to the given xVal. /// The returned list contains two objects per DataSet (closest rounding up, closest rounding down). @objc open func getHighlights(xValue: Double, x: CGFloat, y: CGFloat) -> [Highlight] diff --git a/Source/Charts/Highlight/IHighlighter.swift b/Source/Charts/Highlight/IHighlighter.swift index 30cb8b9327..21ae298c34 100644 --- a/Source/Charts/Highlight/IHighlighter.swift +++ b/Source/Charts/Highlight/IHighlighter.swift @@ -18,7 +18,6 @@ public protocol IHighlighter: class /// - Parameters: /// - x: /// - y: - /// - Returns: /// - Returns: A Highlight object corresponding to the given x- and y- touch positions in pixels. func getHighlight(x: CGFloat, y: CGFloat) -> Highlight? }