TimeLabelSource
public struct TimeLabelSource : TimeLabelGenerator
Provides labels for given time intervals based on a specified function.
-
Undocumented
Declaration
Swift
public init(function: @escaping TimeLabelFunction)
-
Undocumented
Declaration
Swift
public let function: TimeLabelFunction
-
Declaration
Swift
public func label(for time: TimeRange) -> String?