Root

public struct Root : Encodable

Undocumented

  • sets the color of the root node for a sunburst or a treemap trace.

    this has no effect when a colorscale is used to set the markers.

    Declaration

    Swift

    public var color: Color?
  • Creates Root object with specified properties.

    Declaration

    Swift

    public init(color: Color? = nil)

    Parameters

    color

    sets the color of the root node for a sunburst or a treemap trace.