GroupingData

public struct GroupingData : CTBarColourProtocol, Hashable, Identifiable

Model for grouping data points together so they can be drawn in the correct groupings.

  • id

    Declaration

    Swift

    public let id: UUID
  • Undocumented

    Declaration

    Swift

    public var title: String
  • Declaration

    Swift

    public var colour: ColourStyle
  • Group with single colour

    Declaration

    Swift

    public init(
        title: String,
        colour: ColourStyle
    )

    Parameters

    title

    Title for legends

    colour

    Colour styling for the bars.