Style

public struct Style : Encodable

Undocumented

  • The group value which receives these styles.

    Declaration

    Swift

    public var target: String?
  • Sets each group styles.

    For example, with groups set to [‘a’, ‘b’, ‘a’, ‘b’] and styles set to [{target: ‘a’, value: { marker: { color: ‘red’ } }}] marker points in group *‘a’ will be drawn in red.

    Declaration

    Swift

    public var value: Anything?
  • Creates Style object with specified properties.

    Declaration

    Swift

    public init(target: String? = nil, value: Anything? = nil)

    Parameters

    target

    The group value which receives these styles.

    value

    Sets each group styles.