ChartBaselineAttributes

public class ChartBaselineAttributes : ChartGridlineAttributes

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(width: Double = 1,
                color: Color = .preferredColor(.secondaryFill),
                dashPatternLength: Double = 1,
                dashPatternGap: Double = 0,
                isHidden: Bool = false,
                value: Double? = nil,
                position: Double? = nil)
  • Undocumented

    Declaration

    Swift

    override public func copy(with zone: NSZone? = nil) -> Any
  • Undocumented

    Declaration

    Swift

    override public var description: String { get }
  • Baseline value or nil if no data has been assigned to the Chart.

    Declaration

    Swift

    @Published
    public var value: CGFloat? { get set }
  • Baseline position or nil if no data has been assigned to the Chart.

    Declaration

    Swift

    @Published
    public var position: CGFloat? { get set }
  • conform to Equatable

    Declaration

    Swift

    static func == (lhs: ChartBaselineAttributes, rhs: ChartBaselineAttributes) -> Bool