ChartGridlineAttributes

public class ChartGridlineAttributes : ObservableObject, Identifiable, NSCopying, CustomStringConvertible
extension ChartGridlineAttributes: Equatable

Gridline properties for an Axis.

  • Undocumented

    Declaration

    Swift

    public init(width: Double = 1,
                color: Color = .preferredColor(.secondaryFill),
                dashPatternLength: Double = 1,
                dashPatternGap: Double = 3,
                isHidden: Bool = false)
  • Undocumented

    Declaration

    Swift

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

    Swift

    public var description: String { get }
  • Undocumented

    Declaration

    Swift

    @PublishedConstrainedValue
    public var width: CGFloat { get set }
  • Undocumented

    Declaration

    Swift

    @Published
    public var color: Color { get set }
  • Undocumented

    Declaration

    Swift

    @PublishedConstrainedValue
    public var dashPatternLength: CGFloat { get set }
  • Undocumented

    Declaration

    Swift

    @PublishedConstrainedValue
    public var dashPatternGap: CGFloat { get set }
  • Undocumented

    Declaration

    Swift

    @Published
    public var isHidden: Bool { get set }
  • id

    Declaration

    Swift

    public let id: UUID
  • Declaration

    Swift

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