MarkPropDefStringNullTypeForShape
case class MarkPropDefStringNullTypeForShape(aggregate: Option[Aggregate], bandPosition: Option[Double], bin: Option[AngleBin], condition: Option[ShapeCondition], field: Option[Field], legend: Option[Legend], scale: Option[Scale], sort: Option[SortUnion], timeUnit: Option[TimeUnitUnion], title: Option[LegendTitle], `type`: Option[Type], datum: Option[PrimitiveValue], value: Option[Color])
Shape of the mark.
-
For
point
marks the supported values include: - plotting shapes:"circle"
,"square"
,"cross"
,"diamond"
,"triangle-up"
,"triangle-down"
,"triangle-right"
, or"triangle-left"
. - the line symbol"stroke"
- centered directional shapes"arrow"
,"wedge"
, or"triangle"
- a custom SVG path string (For correct sizing, custom shape paths should be defined within a square bounding box with coordinates ranging from -1 to 1 along both the x and y dimensions.) -
For
geoshape
marks it should be a field definition of the geojson data
Default value: If undefined, the default shape depends on mark
config's shape
property. ("circle"
if unset.)
A FieldDef with Condition