PathBar

public struct PathBar : Encodable

Undocumented

  • Determines if the path bar is drawn i.e.

    outside the trace domain and with one pixel gap.

    Declaration

    Swift

    public var visible: Bool?
  • Determines on which side of the the treemap the pathbar should be presented.

    See more

    Declaration

    Swift

    public enum Side : String, Encodable
  • Determines on which side of the the treemap the pathbar should be presented.

    Declaration

    Swift

    public var side: Side?
  • Determines which shape is used for edges between barpath labels.

    See more

    Declaration

    Swift

    public enum EdgeShape : String, Encodable
  • Determines which shape is used for edges between barpath labels.

    Declaration

    Swift

    public var edgeShape: EdgeShape?
  • Sets the thickness of pathbar (in px).

    If not specified the pathbar.textfont.size is used with 3 pixles extra padding on each side.

    Declaration

    Swift

    public var thickness: Double?
  • Sets the font used inside pathbar.

    Declaration

    Swift

    public var textFont: VariableFont?
  • Creates PathBar object with specified properties.

    Declaration

    Swift

    public init(visible: Bool? = nil, side: Side? = nil, edgeShape: EdgeShape? = nil, thickness:
            Double? = nil, textFont: VariableFont? = nil)

    Parameters

    visible

    Determines if the path bar is drawn i.e.

    side

    Determines on which side of the the treemap the pathbar should be presented.

    edgeShape

    Determines which shape is used for edges between barpath labels.

    thickness

    Sets the thickness of pathbar (in px).

    textFont

    Sets the font used inside pathbar.