Box

public struct Box : Encodable

Undocumented

  • Determines if an miniature box plot is drawn inside the violins.

    Declaration

    Swift

    public var visible: Bool?
  • Sets the width of the inner box plots relative to the violins’ width.

    For example, with 1, the inner box plots are as wide as the violins.

    Declaration

    Swift

    public var width: Double?
  • Sets the inner box plot fill color.

    Declaration

    Swift

    public var fillColor: Color?
  • Undocumented

    Declaration

    Swift

    public var line: Line?
  • Creates Box object with specified properties.

    Declaration

    Swift

    public init(visible: Bool? = nil, width: Double? = nil, fillColor: Color? = nil, line: Line? =
            nil)

    Parameters

    visible

    Determines if an miniature box plot is drawn inside the violins.

    width

    Sets the width of the inner box plots relative to the violins’ width.

    fillColor

    Sets the inner box plot fill color.

    line