You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question about Classes/Highlight/HorizontalBarChartHighlighter.swift
In it, you try to override public func getBase(x: Double) -> Double from BarChartHighlighter(link)
with public override func getBase(y: Double) -> Double(link)
is it right to use y as the argument label, both semantically and as an override? Later you use it on an x value which makes me suspicious if this is a bug or not.
The text was updated successfully, but these errors were encountered:
@Redoubts you are confused - it is not the label of the argument. It's the local name of the argument.
The first argument does not have a label unless explicitly specified.
I have a question about
Classes/Highlight/HorizontalBarChartHighlighter.swift
In it, you try to override
public func getBase(x: Double) -> Double
fromBarChartHighlighter
(link)with
public override func getBase(y: Double) -> Double
(link)is it right to use
y
as the argument label, both semantically and as an override? Later you use it on an x value which makes me suspicious if this is a bug or not.The text was updated successfully, but these errors were encountered: