LegendType

viz.dsl.vegaLite.LegendType

The type of the legend. Use "symbol" to create a discrete legend and "gradient" for a continuous color gradient.

Default value: "gradient" for non-binned quantitative fields and temporal fields; "symbol" otherwise.

Attributes

Source:
vega-lite.scala
Graph
Supertypes
trait Enum
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Enum entries

case case gradient extends LegendType

Attributes

Source:
vega-lite.scala
case case symbol extends LegendType

Attributes

Source:
vega-lite.scala