X

public struct X : Encodable

Undocumented

  • Determines whether or not contour lines about the x dimension are drawn.

    Declaration

    Swift

    public var show: Bool?
  • Sets the starting contour level value.

    Must be less than contours.end

    Declaration

    Swift

    public var start: Double?
  • end

    Sets the end contour level value.

    Must be more than contours.start

    Declaration

    Swift

    public var end: Double?
  • Sets the step between each contour level.

    Must be positive.

    Declaration

    Swift

    public var size: Double?
  • Undocumented

    Declaration

    Swift

    public var project: Projection?
  • Sets the color of the contour lines.

    Declaration

    Swift

    public var color: Color?
  • An alternate to color.

    Determines whether or not the contour lines are colored using the trace colorscale.

    Declaration

    Swift

    public var useColormap: Bool?
  • Sets the width of the contour lines.

    Declaration

    Swift

    public var width: Double?
  • Determines whether or not contour lines about the x dimension are highlighted on hover.

    Declaration

    Swift

    public var highlight: Bool?
  • Sets the color of the highlighted contour lines.

    Declaration

    Swift

    public var highlightColor: Color?
  • Sets the width of the highlighted contour lines.

    Declaration

    Swift

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

    Declaration

    Swift

    public init(show: Bool? = nil, start: Double? = nil, end: Double? = nil, size: Double? = nil,
            project: Projection? = nil, color: Color? = nil, useColormap: Bool? = nil, width: Double? = nil,
            highlight: Bool? = nil, highlightColor: Color? = nil, highlightWidth: Double? = nil)

    Parameters

    show

    Determines whether or not contour lines about the x dimension are drawn.

    start

    Sets the starting contour level value.

    end

    Sets the end contour level value.

    size

    Sets the step between each contour level.

    project

    color

    Sets the color of the contour lines.

    useColormap

    An alternate to color.

    width

    Sets the width of the contour lines.

    highlight

    Determines whether or not contour lines about the x dimension are highlighted on hover.

    highlightColor

    Sets the color of the highlighted contour lines.

    highlightWidth

    Sets the width of the highlighted contour lines.