ChartSeriesPalette

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

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(colors: [Color],
                fillColor: Color? = nil,
                labelColor: Color,
                positiveMaxColor: Color,
                positiveMinColor: Color,
                negativeMaxColor: Color,
                negativeMinColor: Color)
  • Undocumented

    Declaration

    Swift

    public convenience init(colors: [Color], labelColor: Color)
  • Undocumented

    Declaration

    Swift

    public convenience init(colors: [Color], fillColor: Color)
  • Undocumented

    Declaration

    Swift

    public convenience init(colors: [Color])
  • Undocumented

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any
  • Primary color of the series. Used to render the series’ lines. One color only for charts except stock requires multiple colors

    Declaration

    Swift

    @Published
    public var colors: [Color] { get set }
  • Color used to render fill area or range selection for the series.

    Declaration

    Swift

    public var fillColor: Color { get set }
  • Color used to render labels for the series.

    Declaration

    Swift

    @Published
    public var labelColor: Color { get set }
  • Color of the maximum positive value (furthest from the zero baseline).

    Declaration

    Swift

    @Published
    public var positiveMaxColor: Color { get set }
  • Color of the minimum positive value (closest to the zero baseline).

    Declaration

    Swift

    @Published
    public var positiveMinColor: Color { get set }
  • Color of the maximum negative value (closest to the zero baseline).

    Declaration

    Swift

    @Published
    public var negativeMaxColor: Color { get set }
  • Color of the minimum positive value (furthest from the zero baseline).

    Declaration

    Swift

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

    Declaration

    Swift

    public let id: UUID
  • Declaration

    Swift

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

    Swift

    public var description: String { get }