X

public struct X : Encodable

Undocumented

  • Determines whether or not slice planes about the x dimension are drawn.

    Declaration

    Swift

    public var show: Bool?
  • Specifies the location(s) of slices on the axis.

    When not specified slices would be created for all points of the axis x except start and end.

    Declaration

    Swift

    public var locations: [Double]?
  • Sets the fill ratio of the slices.

    The default fill value of the slices is 1 meaning that they are entirely shaded. On the other hand Applying a fill ratio less than one would allow the creation of openings parallel to the edges.

    Declaration

    Swift

    public var fill: Double?
  • Creates X object with specified properties.

    Declaration

    Swift

    public init(show: Bool? = nil, locations: [Double]? = nil, fill: Double? = nil)

    Parameters

    show

    Determines whether or not slice planes about the x dimension are drawn.

    locations

    Specifies the location(s) of slices on the axis.

    fill

    Sets the fill ratio of the slices.