Line

public struct Line : Encodable

Note

Used by Box<YData, XData, QData>.line, Violin<YData, XData>.line, Violin<YData, XData>.Box.line, Waterfall<XData, YData>.Increasing.Marker.line, Waterfall<XData, YData>.Decreasing.Marker.line, Waterfall<XData, YData>.Totals.Marker.line, ScatterMapbox<CoordinateData>.line, Indicator.Gauge.Bar.line, Indicator.Gauge.Step.line, Indicator.Gauge.Threshold.line.
  • Sets the color of line bounding the box(es).

    Declaration

    Swift

    public var color: Color?
  • Sets the width (in px) of line bounding the box(es).

    Declaration

    Swift

    public var width: Double?
  • Creates Line object with specified properties.

    Declaration

    Swift

    public init(color: Color? = nil, width: Double? = nil)

    Parameters

    color

    Sets the color of line bounding the box(es).

    width

    Sets the width (in px) of line bounding the box(es).