ChartPointAttributes

public class ChartPointAttributes : ObservableObject, Identifiable, NSCopying
extension ChartPointAttributes: CustomStringConvertible
extension ChartPointAttributes: Equatable
extension ChartPointAttributes: Hashable

Undocumented

  • Indicates if the point is hidden or visible.

    Declaration

    Swift

    @Published
    public var isHidden: Bool { get set }
  • Diameter of the point.

    Declaration

    Swift

    @PublishedConstrainedValue
    public var diameter: CGFloat { get set }
  • gap

    Allowed gap between dots before they run into eachother and are hidden.

    Declaration

    Swift

    @PublishedConstrainedValue
    public var gap: CGFloat { get set }
  • Stroke color for the point.

    Declaration

    Swift

    @Published
    public var strokeColor: Color { get set }
  • id

    Line width for the point’s stroked path.

    Declaration

    Swift

    public let id: UUID
  • Undocumented

    Declaration

    Swift

    public init(isHidden: Bool = false,
                diameter: Double = 7,
                strokeColor: Color = .preferredColor(.secondaryLabel),
                gap: Double = 2)
  • Undocumented

    Declaration

    Swift

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

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public static func == (lhs: ChartPointAttributes, rhs: ChartPointAttributes) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)