VariableLine

public struct VariableLine : Encodable

Note

Used by Pie<LabelsData, ValuesData>.Marker.line, Sunburst<ValuesData>.Marker.line, Treemap<ValuesData>.Marker.line, FunnelArea<LabelsData, ValuesData>.Marker.line, Choropleth<LocationsData, ZData>.Marker.line, ChoroplethMapbox<LocationsData, ZData>.Marker.line, Sankey.Node.line, Sankey.Link.line, Table<CellData>.Header.line, Table<CellData>.Cells<CellData>.line.
  • Sets the color of the line enclosing each sector.

    Declaration

    Swift

    public var coloring: Coloring?
  • Sets the width (in px) of the line enclosing each sector.

    Declaration

    Swift

    public var width: Data<Double>?
  • Creates VariableLine object with specified properties.

    Declaration

    Swift

    public init(coloring: Coloring? = nil, width: Data<Double>? = nil)

    Parameters

    coloring

    Sets the color of the line enclosing each sector.

    width

    Sets the width (in px) of the line enclosing each sector.