ColorMap

public struct ColorMap : Encodable

Undocumented

  • Sets the default sequential colorscale for positive values.

    Note that autocolorscale must be true for this attribute to work.

    Declaration

    Swift

    public var sequential: ColorScale?
  • Sets the default sequential colorscale for negative values.

    Note that autocolorscale must be true for this attribute to work.

    Declaration

    Swift

    public var sequentialMinus: ColorScale?
  • Sets the default diverging colorscale.

    Note that autocolorscale must be true for this attribute to work.

    Declaration

    Swift

    public var diverging: ColorScale?
  • Creates ColorMap object with specified properties.

    Declaration

    Swift

    public init(sequential: ColorScale? = nil, sequentialMinus: ColorScale? = nil, diverging:
            ColorScale? = nil)

    Parameters

    sequential

    Sets the default sequential colorscale for positive values.

    sequentialMinus

    Sets the default sequential colorscale for negative values.

    diverging

    Sets the default diverging colorscale.