viz.dsl.vegaLite
Members list
Type members
Classlikes
The aggregation operation to apply to the fields (e.g., "sum"
, "average"
, or "count"
). See the full list of supported aggregation operations for more information.
The aggregation operation to apply to the fields (e.g., "sum"
, "average"
, or "count"
). See the full list of supported aggregation operations for more information.
The aggregation operation to apply (e.g., "sum"
, "average"
or "count"
). See the list of all supported operations here.
The aggregation operation to apply to grouped value
field values. Default value: sum
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Horizontal text alignment of axis tick labels, overriding the default setting for the current axis orientation.
Horizontal text alignment of axis tick labels, overriding the default setting for the current axis orientation.
Horizontal text alignment of axis titles.
The alignment of the legend label, can be left, center, or right.
Horizontal text alignment for legend titles.
Default value: "left"
.
Horizontal text alignment for title text. One of "left"
, "center"
, or "right"
.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Rotation angle of point and text marks.
Rotation angle of point and text marks.
Fill opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's fillOpacity
property.
Opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's opacity
property.
Size of the mark.
- For
"point"
,"square"
and"circle"
, – the symbol size, or pixel area of the mark. - For
"bar"
and"tick"
– the bar and tick's size. - For
"text"
– the text's font size. - Size is unsupported for
"line"
,"area"
, and"rect"
. (Use"trail"
instead of line with varying size)
Stroke opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's strokeOpacity
property.
Stroke width of the marks.
Default value: If undefined, the default stroke width depends on mark config's strokeWidth
property.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Area-Specific Config
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
The sizing format type. One of "pad"
, "fit"
, "fit-x"
, "fit-y"
, or "none"
. See the autosize type documentation for descriptions of each.
The sizing format type. One of "pad"
, "fit"
, "fit-x"
, "fit-y"
, or "none"
. See the autosize type documentation for descriptions of each.
Default value: "pad"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Axis configuration, which determines default properties for all x
and y
axes. For a full list of axis configuration options, please see the corresponding section of the axis documentation.
Axis configuration, which determines default properties for all x
and y
axes. For a full list of axis configuration options, please see the corresponding section of the axis documentation.
Config for axes with "band" scales.
Config for x-axis along the bottom edge of the chart.
Config for axes with "point" or "band" scales.
Config for y-axis along the left edge of the chart.
Config for axes with "point" scales.
Config for quantitative axes.
Config for y-axis along the right edge of the chart.
Config for temporal axes.
Config for x-axis along the top edge of the chart.
X-axis specific config.
Config for x-axes with "band" scales.
Config for x-axes with "point" or "band" scales.
Config for x-axes with "point" scales.
Config for x-quantitative axes.
Config for x-temporal axes.
Y-axis specific config.
Config for y-axes with "band" scales.
Config for y-axes with "point" or "band" scales.
Config for y-axes with "point" scales.
Config for y-quantitative axes.
Config for y-temporal axes.
Attributes
- Source
- vega-lite.scala
- Supertypes
The orientation of a non-stacked bar, tick, area, and line charts. The value is either horizontal (default) or vertical.
The orientation of a non-stacked bar, tick, area, and line charts. The value is either horizontal (default) or vertical.
- For bar, rule and tick, this determines whether the size of the bar and tick should be applied to x or y dimension.
- For area, this property determines the orient property of the Vega output.
- For line and trail marks, this property determines the sort order of the points in the line if
config.sortLineBy
is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored.
The direction of the legend, one of "vertical"
or "horizontal"
.
Default value:
- For top-/bottom-
orient
ed legends,"horizontal"
- For left-/right-
orient
ed legends,"vertical"
- For top/bottom-left/right-
orient
ed legends,"horizontal"
for gradient legends and"vertical"
for symbol legends.
The default direction ("horizontal"
or "vertical"
) for gradient legends.
Default value: "vertical"
.
The default direction ("horizontal"
or "vertical"
) for symbol legends.
Default value: "vertical"
.
Orientation of the box plot. This is normally automatically determined based on types of fields on x and y channels. However, an explicit orient
be specified when the orientation is ambiguous.
Default value: "vertical"
.
Orientation of the error bar. This is normally automatically determined, but can be specified when the orientation is ambiguous and cannot be automatically determined.
Orientation of the error band. This is normally automatically determined, but can be specified when the orientation is ambiguous and cannot be automatically determined.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Bar-Specific Config
Title configuration, which determines default properties for all titles. For a full list of title configuration options, please see the corresponding section of the title documentation.
Title configuration, which determines default properties for all titles. For a full list of title configuration options, please see the corresponding section of the title documentation.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Binning properties or boolean flag for determining whether to bin data or not.
Binning properties or boolean flag for determining whether to bin data or not.
Attributes
- Source
- vega-lite.scala
- Supertypes
Binds the parameter to an external input element such as a slider, selection list or radio button group.
Binds the parameter to an external input element such as a slider, selection list or radio button group.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The bounds calculation method to use for determining the extent of a sub-plot. One of full
(the default) or flush
.
The bounds calculation method to use for determining the extent of a sub-plot. One of full
(the default) or flush
.
- If set to
full
, the entire calculated bounds (including axes, title, and legend) will be used. - If set to
flush
, only the specified width and height values for the sub-view will be used. Theflush
setting can be useful when attempting to place sub-plots without axes or legends into a uniform grid structure.
Default value: "full"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Box Config
An interval selection also adds a rectangle mark to depict the extents of the interval. The mark
property can be used to customize the appearance of the mark.
An interval selection also adds a rectangle mark to depict the extents of the interval. The mark
property can be used to customize the appearance of the mark.
See also: mark
examples in the documentation.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Color of the marks – either fill or stroke color based on the filled
property of mark definition. By default, color
represents fill color for "area"
, "bar"
, "tick"
, "text"
, "trail"
, "circle"
, and "square"
/ stroke color for "line"
and "point"
.
Color of the marks – either fill or stroke color based on the filled
property of mark definition. By default, color
represents fill color for "area"
, "bar"
, "tick"
, "text"
, "trail"
, "circle"
, and "square"
/ stroke color for "line"
and "point"
.
Default value: If undefined, the default color depends on mark config's color
property.
Note: 1) For fine-grained control over both fill and stroke colors of the marks, please use the fill
and stroke
channels. The fill
or stroke
encodings have higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified. 2) See the scale documentation for more information about customizing color scheme.
Fill color of the marks. Default value: If undefined, the default color depends on mark config's color
property.
Note: The fill
encoding has higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified.
Stroke color of the marks. Default value: If undefined, the default color depends on mark config's color
property.
Note: The stroke
encoding has higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Default configuration for all concatenation and repeat view composition operators (concat
, hconcat
, vconcat
, and repeat
)
Default configuration for all concatenation and repeat view composition operators (concat
, hconcat
, vconcat
, and repeat
)
Default configuration for the facet
view composition operator
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Circle-Specific Config
Circle-Specific Config
Geoshape-Specific Config
Mark Config
Point-Specific Config
Rule-Specific Config
Square-Specific Config
Default style for chart subtitles
Default style for chart titles
Default style for axis, legend, and header labels.
Default style for axis, legend, and header titles.
Text-Specific Config
Area-Specific Config
Bar-Specific Config
Arc-specific Config
Image-specific Config
Rect-Specific Config
Line-Specific Config
Trail-Specific Config
Tick-Specific Config
Attributes
- Source
- vega-lite.scala
- Supertypes
Vega-Lite configuration object. This property can only be defined at the top-level of a specification.
Vega-Lite configuration object. This property can only be defined at the top-level of a specification.
Attributes
- Source
- vega-lite.scala
- Supertypes
Determines how size calculation should be performed, one of "content"
or "padding"
. The default setting ("content"
) interprets the width and height settings as the data rectangle (plotting) dimensions, to which padding is then added. In contrast, the "padding"
setting includes the padding within the view size calculations, such that the width and height settings indicate the total intended size of the view.
Determines how size calculation should be performed, one of "content"
or "padding"
. The default setting ("content"
) interprets the width and height settings as the data rectangle (plotting) dimensions, to which padding is then added. In contrast, the "padding"
setting includes the padding within the view size calculations, such that the width and height settings indicate the total intended size of the view.
Default value: "content"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
The mouse cursor used over the mark. Any valid CSS cursor type can be used.
The mouse cursor used over the mark. Any valid CSS cursor type can be used.
The mouse cursor used over the interval mark. Any valid CSS cursor type can be used.
The mouse cursor used over the view. Any valid CSS cursor type can be used.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Secondary data source to lookup in.
An object that specifies the format for parsing the data.
An object that specifies the format for parsing the data.
Attributes
- Source
- vega-lite.scala
- Supertypes
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
A text description of this mark for ARIA accessibility (SVG output only). For SVG output the "aria-label"
attribute will be set to this description.
A text description of this mark for ARIA accessibility (SVG output only). For SVG output the "aria-label"
attribute will be set to this description.
A URL to load upon mouse click.
The URL of an image mark.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Attributes
- Source
- vega-lite.scala
- Supertypes
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
A key-value mapping between encoding channels and definition of fields.
A key-value mapping between encoding channels and definition of fields.
A shared key-value mapping between encoding channels and definition of fields in the underlying layers.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
A sort definition for sorting a discrete scale in an encoding field definition.
A sort definition for sorting a discrete scale in an encoding field definition.
Attributes
- Source
- vega-lite.scala
- Supertypes
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Attributes
- Source
- vega-lite.scala
- Supertypes
ErrorBand Config
ErrorBar Config
The extent of the band. Available options include:
The extent of the band. Available options include:
"ci"
: Extend the band to the confidence interval of the mean."stderr"
: The size of band are set to the value of standard error, extending from the mean."stdev"
: The size of band are set to the value of standard deviation, extending from the mean."iqr"
: Extend the band to the q1 and q3.
Default value: "stderr"
.
The extent of the rule. Available options include:
"ci"
: Extend the rule to the confidence interval of the mean."stderr"
: The size of rule are set to the value of standard error, extending from the mean."stdev"
: The size of rule are set to the value of standard deviation, extending from the mean."iqr"
: Extend the rule to the q1 and q3.
Default value: "stderr"
.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Definition for how to facet the data. One of: 1) a field definition for faceting the plot by one field 2) An object that maps row
and column
channels to their field definitions
Definition for how to facet the data. One of: 1) a field definition for faceting the plot by one field 2) An object that maps row
and column
channels to their field definitions
A field definition for the horizontal facet of trellis plots.
A field definition for the vertical facet of trellis plots.
Attributes
- Source
- vega-lite.scala
- Supertypes
A field definition for the (flexible) facet of trellis plots.
A field definition for the (flexible) facet of trellis plots.
If either row
or column
is specified, this channel will be ignored.
Attributes
- Source
- vega-lite.scala
- Supertypes
A field definition for the horizontal facet of trellis plots.
A field definition for the horizontal facet of trellis plots.
A field definition for the vertical facet of trellis plots.
Attributes
- Source
- vega-lite.scala
- Supertypes
A FieldDef with Condition
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Defines how Vega-Lite generates title for fields. There are three possible styles:
Defines how Vega-Lite generates title for fields. There are three possible styles:
"verbal"
(Default) - displays function in a verbal style (e.g., "Sum of field", "Year-month of date", "field (binned)")."function"
- displays function using parentheses and capitalized texts (e.g., "SUM(field)", "YEARMONTH(date)", "BIN(field)")."plain"
- displays only the field name without functions (e.g., "field", "date", "field").
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Color of the marks – either fill or stroke color based on the filled
property of mark definition. By default, color
represents fill color for "area"
, "bar"
, "tick"
, "text"
, "trail"
, "circle"
, and "square"
/ stroke color for "line"
and "point"
.
Color of the marks – either fill or stroke color based on the filled
property of mark definition. By default, color
represents fill color for "area"
, "bar"
, "tick"
, "text"
, "trail"
, "circle"
, and "square"
/ stroke color for "line"
and "point"
.
Default value: If undefined, the default color depends on mark config's color
property.
Note: 1) For fine-grained control over both fill and stroke colors of the marks, please use the fill
and stroke
channels. The fill
or stroke
encodings have higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified. 2) See the scale documentation for more information about customizing color scheme.
Fill color of the marks. Default value: If undefined, the default color depends on mark config's color
property.
Note: The fill
encoding has higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified.
Stroke color of the marks. Default value: If undefined, the default color depends on mark config's color
property.
Note: The stroke
encoding has higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Rotation angle of point and text marks.
Rotation angle of point and text marks.
Fill opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's fillOpacity
property.
Opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's opacity
property.
Size of the mark.
- For
"point"
,"square"
and"circle"
, – the symbol size, or pixel area of the mark. - For
"bar"
and"tick"
– the bar and tick's size. - For
"text"
– the text's font size. - Size is unsupported for
"line"
,"area"
, and"rect"
. (Use"trail"
instead of line with varying size)
Stroke opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's strokeOpacity
property.
Stroke width of the marks.
Default value: If undefined, the default stroke width depends on mark config's strokeWidth
property.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Attributes
- Source
- vega-lite.scala
- Supertypes
Headers of row / column channels for faceted plots.
Header configuration, which determines default properties for all headers.
Header configuration, which determines default properties for all headers.
For a full list of header configuration options, please see the corresponding section of in the header documentation.
Header configuration, which determines default properties for column headers.
For a full list of header configuration options, please see the corresponding section of in the header documentation.
Header configuration, which determines default properties for non-row/column facet headers.
For a full list of header configuration options, please see the corresponding section of in the header documentation.
Header configuration, which determines default properties for row headers.
For a full list of header configuration options, please see the corresponding section of in the header documentation.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
A text description of this mark for ARIA accessibility (SVG output only). For SVG output the "aria-label"
attribute will be set to this description.
A text description of this mark for ARIA accessibility (SVG output only). For SVG output the "aria-label"
attribute will be set to this description.
A URL to load upon mouse click.
The URL of an image mark.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
The imputation method to use for the field value of imputed data objects. One of "value"
, "mean"
, "median"
, "max"
or "min"
.
The imputation method to use for the field value of imputed data objects. One of "value"
, "mean"
, "median"
, "max"
or "min"
.
Default value: "value"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
The line interpolation method to use for line and area marks. One of the following:
The line interpolation method to use for line and area marks. One of the following:
"linear"
: piecewise linear segments, as in a polyline."linear-closed"
: close the linear segments to form a polygon."step"
: alternate between horizontal and vertical segments, as in a step function."step-before"
: alternate between vertical and horizontal segments, as in a step function."step-after"
: alternate between horizontal and vertical segments, as in a step function."basis"
: a B-spline, with control point duplication on the ends."basis-open"
: an open B-spline; may not intersect the start or end."basis-closed"
: a closed B-spline, as in a loop."cardinal"
: a Cardinal spline, with control point duplication on the ends."cardinal-open"
: an open Cardinal spline; may not intersect the start or end, but will intersect other control points."cardinal-closed"
: a closed Cardinal spline, as in a loop."bundle"
: equivalent to basis, except the tension parameter is used to straighten the spline."monotone"
: cubic interpolation that preserves monotonicity in y.
The line interpolation method for the error band. One of the following:
"linear"
: piecewise linear segments, as in a polyline."linear-closed"
: close the linear segments to form a polygon."step"
: a piecewise constant function (a step function) consisting of alternating horizontal and vertical lines. The y-value changes at the midpoint of each pair of adjacent x-values."step-before"
: a piecewise constant function (a step function) consisting of alternating horizontal and vertical lines. The y-value changes before the x-value."step-after"
: a piecewise constant function (a step function) consisting of alternating horizontal and vertical lines. The y-value changes after the x-value."basis"
: a B-spline, with control point duplication on the ends."basis-open"
: an open B-spline; may not intersect the start or end."basis-closed"
: a closed B-spline, as in a loop."cardinal"
: a Cardinal spline, with control point duplication on the ends."cardinal-open"
: an open Cardinal spline; may not intersect the start or end, but will intersect other control points."cardinal-closed"
: a closed Cardinal spline, as in a loop."bundle"
: equivalent to basis, except the tension parameter is used to straighten the spline."monotone"
: cubic interpolation that preserves monotonicity in y.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The default definition for an interval
selection. All properties and transformations for an interval selection definition (except type
) may be specified here.
The default definition for an interval
selection. All properties and transformations for an interval selection definition (except type
) may be specified here.
For instance, setting interval
to {"translate": false}
disables the ability to move interval selections by default.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Field Def without scale (and without bin: "binned" support).
Field Def without scale (and without bin: "binned" support).
Definition object for a data field, its type and transformation of an encoding channel.
A data field to use as a unique key for data binding. When a visualization’s data is updated, the key value will be used to match data elements to existing mark instances. Use a key channel to enable object constancy for transitions over dynamic data.
Attributes
- Source
- vega-lite.scala
- Supertypes
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Longitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
The inner radius in pixels of arc marks.
The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise.
X2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "width"
for the width of the plot.
Y2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "height"
for the height of the plot.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Latitude position of geographically projected marks.
Latitude position of geographically projected marks.
Longitude position of geographically projected marks.
Attributes
- Source
- vega-lite.scala
- Supertypes
A shared key-value mapping between encoding channels and definition of fields in the underlying layers.
A shared key-value mapping between encoding channels and definition of fields in the underlying layers.
A key-value mapping between encoding channels and definition of fields.
Attributes
- Source
- vega-lite.scala
- Supertypes
A full layered plot specification, which may contains encoding
and projection
properties that will be applied to underlying unit (single-view) specifications.
A full layered plot specification, which may contains encoding
and projection
properties that will be applied to underlying unit (single-view) specifications.
A unit specification, which can contain either primitive marks or composite marks.
Base interface for a unit (single-view) specification.
Attributes
- Source
- vega-lite.scala
- Supertypes
The alignment to apply to symbol legends rows and columns. The supported string values are "all"
, "each"
(the default), and none
. For more information, see the grid layout documentation.
The alignment to apply to symbol legends rows and columns. The supported string values are "all"
, "each"
(the default), and none
. For more information, see the grid layout documentation.
Default value: "each"
.
The alignment to apply to row/column facet's subplot. The supported string values are "all"
, "each"
, and "none"
.
- For
"none"
, a flow layout will be used, in which adjacent subviews are simply placed one after the other. - For
"each"
, subviews will be aligned into a clean grid structure, but each row or column may be of variable size. - For
"all"
, subviews will be aligned and each row or column will be sized identically based on the maximum observed size. String values for this property will be applied to both grid rows and columns.
Default value: "all"
.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Properties of a legend or boolean flag for determining whether to show it.
Properties of a legend or boolean flag for determining whether to show it.
Attributes
- Source
- vega-lite.scala
- Supertypes
Legend configuration, which determines default properties for all legends. For a full list of legend configuration options, please see the corresponding section of in the legend documentation.
Legend configuration, which determines default properties for all legends. For a full list of legend configuration options, please see the corresponding section of in the legend documentation.
Attributes
- Source
- vega-lite.scala
- Supertypes
The orientation of the legend, which determines how the legend is positioned within the scene. One of "left"
, "right"
, "top"
, "bottom"
, "top-left"
, "top-right"
, "bottom-left"
, "bottom-right"
, "none"
.
The orientation of the legend, which determines how the legend is positioned within the scene. One of "left"
, "right"
, "top"
, "bottom"
, "top-left"
, "top-right"
, "bottom-left"
, "bottom-right"
, "none"
.
Default value: "right"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
The type of the legend. Use "symbol"
to create a discrete legend and "gradient"
for a continuous color gradient.
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
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Line-Specific Config
Locale definitions for string parsing and formatting of number and date values. The locale object should contain number
and/or time
properties with locale definitions. Locale definitions provided in the config block may be overridden by the View constructor locale option.
Locale definitions for string parsing and formatting of number and date values. The locale object should contain number
and/or time
properties with locale definitions. Locale definitions provided in the config block may be overridden by the View constructor locale option.
Attributes
- Source
- vega-lite.scala
- Supertypes
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Longitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
The inner radius in pixels of arc marks.
The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise.
X2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "width"
for the width of the plot.
Y2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "height"
for the height of the plot.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Latitude position of geographically projected marks.
Latitude position of geographically projected marks.
Longitude position of geographically projected marks.
Attributes
- Source
- vega-lite.scala
- Supertypes
Data source or selection for secondary data reference.
Attributes
- Source
- vega-lite.scala
- Supertypes
Circle-Specific Config
Circle-Specific Config
Geoshape-Specific Config
Mark Config
Point-Specific Config
Rule-Specific Config
Square-Specific Config
Default style for chart subtitles
Default style for chart titles
Default style for axis, legend, and header labels.
Default style for axis, legend, and header titles.
Text-Specific Config
Attributes
- Source
- vega-lite.scala
- Supertypes
Stroke dash of the marks.
Stroke dash of the marks.
Default value: [1,0]
(No dash).
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Shape of the mark.
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
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
An aggregate operation to perform on the field prior to sorting (e.g., "count"
, "mean"
and "median"
). An aggregation is required when there are multiple values of the sort field for each encoded data field. The input data objects will be aggregated, grouped by the encoded data field.
An aggregate operation to perform on the field prior to sorting (e.g., "count"
, "mean"
and "median"
). An aggregation is required when there are multiple values of the sort field for each encoded data field. The input data objects will be aggregated, grouped by the encoded data field.
For a full list of operations, please see the documentation for aggregate.
Default value: "sum"
for stacked plots. Otherwise, "min"
.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Locale definition for formatting numbers.
Attributes
- Source
- vega-lite.scala
- Supertypes
The window or aggregation operation to apply within a window (e.g., "rank"
, "lead"
, "sum"
, "average"
or "count"
). See the list of all supported operations here.
The window or aggregation operation to apply within a window (e.g., "rank"
, "lead"
, "sum"
, "average"
or "count"
). See the list of all supported operations here.
The aggregation operation to apply to the fields (e.g., "sum"
, "average"
, or "count"
). See the full list of supported aggregation operations for more information.
The aggregation operation to apply (e.g., "sum"
, "average"
or "count"
). See the list of all supported operations here.
The aggregation operation to apply to grouped value
field values. Default value: sum
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Rotation angle of point and text marks.
Rotation angle of point and text marks.
Fill opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's fillOpacity
property.
Opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's opacity
property.
Size of the mark.
- For
"point"
,"square"
and"circle"
, – the symbol size, or pixel area of the mark. - For
"bar"
and"tick"
– the bar and tick's size. - For
"text"
– the text's font size. - Size is unsupported for
"line"
,"area"
, and"rect"
. (Use"trail"
instead of line with varying size)
Stroke opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's strokeOpacity
property.
Stroke width of the marks.
Default value: If undefined, the default stroke width depends on mark config's strokeWidth
property.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
The orientation of the header label. One of "top"
, "bottom"
, "left"
or "right"
.
The orientation of the header label. One of "top"
, "bottom"
, "left"
or "right"
.
Shortcut for setting both labelOrient and titleOrient.
The orientation of the header title. One of "top"
, "bottom"
, "left"
or "right"
.
Orientation of the legend title.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The orientation of a non-stacked bar, tick, area, and line charts. The value is either horizontal (default) or vertical.
The orientation of a non-stacked bar, tick, area, and line charts. The value is either horizontal (default) or vertical.
- For bar, rule and tick, this determines whether the size of the bar and tick should be applied to x or y dimension.
- For area, this property determines the orient property of the Vega output.
- For line and trail marks, this property determines the sort order of the points in the line if
config.sortLineBy
is not specified. For stacked charts, this is always determined by the orientation of the stack; therefore explicitly specified value will be ignored.
The direction of the legend, one of "vertical"
or "horizontal"
.
Default value:
- For top-/bottom-
orient
ed legends,"horizontal"
- For left-/right-
orient
ed legends,"vertical"
- For top/bottom-left/right-
orient
ed legends,"horizontal"
for gradient legends and"vertical"
for symbol legends.
The default direction ("horizontal"
or "vertical"
) for gradient legends.
Default value: "vertical"
.
The default direction ("horizontal"
or "vertical"
) for symbol legends.
Default value: "vertical"
.
Orientation of the box plot. This is normally automatically determined based on types of fields on x and y channels. However, an explicit orient
be specified when the orientation is ambiguous.
Default value: "vertical"
.
Orientation of the error bar. This is normally automatically determined, but can be specified when the orientation is ambiguous and cannot be automatically determined.
Orientation of the error band. This is normally automatically determined, but can be specified when the orientation is ambiguous and cannot be automatically determined.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
The default definition for a point
selection. All properties and transformations for a point selection definition (except type
) may be specified here.
The default definition for a point
selection. All properties and transformations for a point selection definition (except type
) may be specified here.
For instance, setting point
to {"on": "dblclick"}
populates point selections on double-click by default.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Projection configuration, which determines default properties for all projections. For a full list of projection configuration options, please see the corresponding section of the projection documentation.
Projection configuration, which determines default properties for all projections. For a full list of projection configuration options, please see the corresponding section of the projection documentation.
Any property of Projection can be in config
An object defining properties of geographic projection, which will be applied to shape
path for "geoshape"
marks and to latitude
and "longitude"
channels for other marks.
An object defining properties of the geographic projection shared by underlying layers.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Binds the parameter to an external input element such as a slider, selection list or radio button group.
Binds the parameter to an external input element such as a slider, selection list or radio button group.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Longitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
The inner radius in pixels of arc marks.
The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise.
X2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "width"
for the width of the plot.
Y2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "height"
for the height of the plot.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
The outer radius in pixels of arc marks.
The outer radius in pixels of arc marks.
-
For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.)
-
For text marks, polar coordinate angle in radians.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Arc-specific Config
Arc-specific Config
Image-specific Config
Rect-Specific Config
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Definition for fields to be repeated. One of: 1) An array of fields to be repeated. If "repeat"
is an array, the field can be referred to as {"repeat": "repeat"}
. The repeated views are laid out in a wrapped row. You can set the number of columns to control the wrapping. 2) An object that maps "row"
and/or "column"
to the listed fields to be repeated along the particular orientations. The objects {"repeat": "row"}
and {"repeat": "column"}
can be used to refer to the repeated field respectively.
Definition for fields to be repeated. One of: 1) An array of fields to be repeated. If "repeat"
is an array, the field can be referred to as {"repeat": "repeat"}
. The repeated views are laid out in a wrapped row. You can set the number of columns to control the wrapping. 2) An object that maps "row"
and/or "column"
to the listed fields to be repeated along the particular orientations. The objects {"repeat": "row"}
and {"repeat": "column"}
can be used to refer to the repeated field respectively.
Attributes
- Source
- vega-lite.scala
- Supertypes
Reference to a repeated value.
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Object for defining datetime in Vega-Lite Filter. If both month and quarter are provided, month has higher precedence. day
cannot be combined with other date. We accept string for month and day names.
Reference to a repeated value.
Attributes
- Source
- vega-lite.scala
- Supertypes
Scale, axis, and legend resolutions for view composition specifications.
Scale, axis, and legend resolutions for view composition specifications.
Defines how scales, axes, and legends from different specs should be combined. Resolve is a mapping from scale
, axis
, and legend
to a mapping from channels to resolutions. Scales and guides can be resolved to be "independent"
or "shared"
.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
A field definition for the horizontal facet of trellis plots.
A field definition for the horizontal facet of trellis plots.
A field definition for the vertical facet of trellis plots.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Scale configuration determines default properties for all scales. For a full list of scale configuration options, please see the corresponding section of the scale documentation.
Scale configuration determines default properties for all scales. For a full list of scale configuration options, please see the corresponding section of the scale documentation.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
The type of scale. Vega-Lite supports the following categories of scale types:
The type of scale. Vega-Lite supports the following categories of scale types:
-
Continuous Scales -- mapping continuous domains to continuous output ranges (
"linear"
,"pow"
,"sqrt"
,"symlog"
,"log"
,"time"
,"utc"
. -
Discrete Scales -- mapping discrete domains to discrete (
"ordinal"
) or continuous ("band"
and"point"
) output ranges. -
Discretizing Scales -- mapping continuous domains to discrete output ranges
"bin-ordinal"
,"quantile"
,"quantize"
and"threshold"
.
Default value: please see the scale type table.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
An object hash for defining default properties for each type of selections.
An object hash for defining default properties for each type of selections.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
With layered and multi-view displays, a strategy that determines how selections' data queries are resolved when applied in a filter transform, conditional encoding rule, or scale domain.
With layered and multi-view displays, a strategy that determines how selections' data queries are resolved when applied in a filter transform, conditional encoding rule, or scale domain.
One of:
"global"
-- only one brush exists for the entire SPLOM. When the user begins to drag, any previous brushes are cleared, and a new one is constructed."union"
-- each cell contains its own brush, and points are highlighted if they lie within any of these individual brushes."intersect"
-- each cell contains its own brush, and points are highlighted only if they fall within all of these individual brushes.
Default value: global
.
See also: resolve
examples in the documentation.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Generate a sequence of numbers.
If a selection parameter is specified, the encoding channel to extract selected values for when a selection is projected over multiple fields or encodings.
If a selection parameter is specified, the encoding channel to extract selected values for when a selection is projected over multiple fields or encodings.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Rotation angle of point and text marks.
Rotation angle of point and text marks.
Fill opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's fillOpacity
property.
Opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's opacity
property.
Size of the mark.
- For
"point"
,"square"
and"circle"
, – the symbol size, or pixel area of the mark. - For
"bar"
and"tick"
– the bar and tick's size. - For
"text"
– the text's font size. - Size is unsupported for
"line"
,"area"
, and"rect"
. (Use"trail"
instead of line with varying size)
Stroke opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's strokeOpacity
property.
Stroke width of the marks.
Default value: If undefined, the default stroke width depends on mark config's strokeWidth
property.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
The sort order. One of "ascending"
(default) or "descending"
.
The sort order. One of "ascending"
(default) or "descending"
.
The encoding channel to sort by (e.g., "x"
, "y"
)
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The encoding channel to sort by (e.g., "x"
, "y"
)
The encoding channel to sort by (e.g., "x"
, "y"
)
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A sort definition for sorting a discrete scale in an encoding field definition.
A sort definition for sorting a discrete scale in an encoding field definition.
Attributes
- Source
- vega-lite.scala
- Supertypes
A sort definition for transform
The sort order. One of "ascending"
(default) or "descending"
.
The sort order. One of "ascending"
(default) or "descending"
.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A specification of the view that gets repeated.
A specification of the view that gets repeated.
Any specification in Vega-Lite.
Unit spec that can have a composite mark and row or column channels (shorthand for a facet spec).
A full layered plot specification, which may contains encoding
and projection
properties that will be applied to underlying unit (single-view) specifications.
Base interface for a repeat specification.
Base interface for a facet specification.
Base interface for a generalized concatenation specification.
Base interface for a vertical concatenation specification.
Base interface for a horizontal concatenation specification.
Attributes
- Source
- vega-lite.scala
- Supertypes
A key-value mapping between encoding channels and definition of fields.
A key-value mapping between encoding channels and definition of fields.
A shared key-value mapping between encoding channels and definition of fields in the underlying layers.
Attributes
- Source
- vega-lite.scala
- Supertypes
A specification of the view that gets repeated.
A specification of the view that gets repeated.
Any specification in Vega-Lite.
Unit spec that can have a composite mark and row or column channels (shorthand for a facet spec).
A full layered plot specification, which may contains encoding
and projection
properties that will be applied to underlying unit (single-view) specifications.
Base interface for a repeat specification.
Base interface for a facet specification.
Base interface for a generalized concatenation specification.
Base interface for a vertical concatenation specification.
Base interface for a horizontal concatenation specification.
A specification of the view that gets faceted.
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Mode for stacking marks. One of "zero"
(default), "center"
, or "normalize"
. The "zero"
offset will stack starting at 0
. The "center"
offset will center the stacks. The "normalize"
offset will compute percentage values for each stack point, with output values in the range [0,1]
.
Mode for stacking marks. One of "zero"
(default), "center"
, or "normalize"
. The "zero"
offset will stack starting at 0
. The "center"
offset will center the stacks. The "normalize"
offset will compute percentage values for each stack point, with output values in the range [0,1]
.
Default value: "zero"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The type of measurement ("quantitative"
, "temporal"
, "ordinal"
, or "nominal"
) for the encoded field or constant value (datum
). It can also be a "geojson"
type for encoding 'geoshape'.
The type of measurement ("quantitative"
, "temporal"
, "ordinal"
, or "nominal"
) for the encoded field or constant value (datum
). It can also be a "geojson"
type for encoding 'geoshape'.
Vega-Lite automatically infers data types in many cases as discussed below. However, type is required for a field if: (1) the field is not nominal and the field encoding has no specified aggregate
(except argmin
and argmax
), bin
, scale type, custom sort
order, nor timeUnit
or (2) if you wish to use an ordinal scale for a field with bin
or timeUnit
.
Default value:
- For a data
field
,"nominal"
is the default data type unless the field encoding hasaggregate
,channel
,bin
, scale type,sort
, ortimeUnit
that satisfies the following criteria:
"quantitative"
is the default type if (1) the encoded field containsbin
oraggregate
except"argmin"
and"argmax"
, (2) the encoding channel islatitude
orlongitude
channel or (3) if the specified scale type is a quantitative scale."temporal"
is the default type if (1) the encoded field containstimeUnit
or (2) the specified scale type is a time or utc scale"ordinal"
is the default type if (1) the encoded field contains a customsort
order, (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding channel isorder
.
- For a constant value in data domain (
datum
):
"quantitative"
if the datum is a number"nominal"
if the datum is a string"temporal"
if the datum is a date time object
Note:
- Data
type
describes the semantics of the data rather than the primitive data types (number, string, etc.). The same primitive data type can have different types of measurement. For example, numeric data can represent quantitative, ordinal, or nominal data. - Data values for a temporal field can be either a date-time string (e.g.,
"2015-03-07 12:32:17"
,"17:01"
,"2015-03-16"
."2015"
) or a timestamp number (e.g.,1552199579097
). - When using with
bin
, thetype
property can be either"quantitative"
(for using a linear bin scale) or"ordinal"
(for using an ordinal bin scale). - When using with
timeUnit
, thetype
property can be either"temporal"
(default, for using a temporal scale) or"ordinal"
(for using an ordinal scale). - When using with
aggregate
, thetype
property refers to the post-aggregation data type. For example, we can calculate countdistinct
of a categorical field"cat"
using{"aggregate": "distinct", "field": "cat"}
. The"type"
of the aggregate output is"quantitative"
. - Secondary channels (e.g.,
x2
,y2
,xError
,yError
) do not havetype
as they must have exactly the same type as their primary channels (e.g.,x
,y
).
See also: type
documentation.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Whether to apply the step to position scale or offset scale when there are both x
and xOffset
or both y
and yOffset
encodings.
Whether to apply the step to position scale or offset scale when there are both x
and xOffset
or both y
and yOffset
encodings.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
The stroke cap for line ending style. One of "butt"
, "round"
, or "square"
.
The stroke cap for line ending style. One of "butt"
, "round"
, or "square"
.
Default value: "butt"
The stroke cap for the domain line's ending style. One of "butt"
, "round"
or "square"
.
Default value: "butt"
The stroke cap for grid lines' ending style. One of "butt"
, "round"
or "square"
.
Default value: "butt"
The stroke cap for the tick lines' ending style. One of "butt"
, "round"
or "square"
.
Default value: "butt"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Color of the marks – either fill or stroke color based on the filled
property of mark definition. By default, color
represents fill color for "area"
, "bar"
, "tick"
, "text"
, "trail"
, "circle"
, and "square"
/ stroke color for "line"
and "point"
.
Color of the marks – either fill or stroke color based on the filled
property of mark definition. By default, color
represents fill color for "area"
, "bar"
, "tick"
, "text"
, "trail"
, "circle"
, and "square"
/ stroke color for "line"
and "point"
.
Default value: If undefined, the default color depends on mark config's color
property.
Note: 1) For fine-grained control over both fill and stroke colors of the marks, please use the fill
and stroke
channels. The fill
or stroke
encodings have higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified. 2) See the scale documentation for more information about customizing color scheme.
Fill color of the marks. Default value: If undefined, the default color depends on mark config's color
property.
Note: The fill
encoding has higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified.
Stroke color of the marks. Default value: If undefined, the default color depends on mark config's color
property.
Note: The stroke
encoding has higher precedence than color
, thus may override the color
encoding if conflicting encodings are specified.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
The stroke line join method. One of "miter"
, "round"
or "bevel"
.
The stroke line join method. One of "miter"
, "round"
or "bevel"
.
Default value: "miter"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Rotation angle of point and text marks.
Rotation angle of point and text marks.
Fill opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's fillOpacity
property.
Opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's opacity
property.
Size of the mark.
- For
"point"
,"square"
and"circle"
, – the symbol size, or pixel area of the mark. - For
"bar"
and"tick"
– the bar and tick's size. - For
"text"
– the text's font size. - Size is unsupported for
"line"
,"area"
, and"rect"
. (Use"trail"
instead of line with varying size)
Stroke opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's strokeOpacity
property.
Stroke width of the marks.
Default value: If undefined, the default stroke width depends on mark config's strokeWidth
property.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Rotation angle of point and text marks.
Rotation angle of point and text marks.
Fill opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's fillOpacity
property.
Opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's opacity
property.
Size of the mark.
- For
"point"
,"square"
and"circle"
, – the symbol size, or pixel area of the mark. - For
"bar"
and"tick"
– the bar and tick's size. - For
"text"
– the text's font size. - Size is unsupported for
"line"
,"area"
, and"rect"
. (Use"trail"
instead of line with varying size)
Stroke opacity of the marks.
Default value: If undefined, the default opacity depends on mark config's strokeOpacity
property.
Stroke width of the marks.
Default value: If undefined, the default stroke width depends on mark config's strokeWidth
property.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Arc-specific Config
Arc-specific Config
Image-specific Config
Rect-Specific Config
Area-Specific Config
Bar-Specific Config
Circle-Specific Config
Geoshape-Specific Config
Mark Config
Point-Specific Config
Rule-Specific Config
Square-Specific Config
Default style for chart subtitles
Default style for chart titles
Default style for axis, legend, and header labels.
Default style for axis, legend, and header titles.
Text-Specific Config
Line-Specific Config
Trail-Specific Config
Tick-Specific Config
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Text of the text
mark.
Text of the text
mark.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
The direction of the text. One of "ltr"
(left-to-right) or "rtl"
(right-to-left). This property determines on which side is truncated in response to the limit parameter.
The direction of the text. One of "ltr"
(left-to-right) or "rtl"
(right-to-left). This property determines on which side is truncated in response to the limit parameter.
Default value: "ltr"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Longitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
The inner radius in pixels of arc marks.
The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise.
X2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "width"
for the width of the plot.
Y2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "height"
for the height of the plot.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
The outer radius in pixels of arc marks.
The outer radius in pixels of arc marks.
-
For arc marks, the arc length in radians if theta2 is not specified, otherwise the start arc angle. (A value of 0 indicates up or “north”, increasing values proceed clockwise.)
-
For text marks, polar coordinate angle in radians.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
For band scales, indicates if ticks and grid lines should be placed at the "center"
of a band (default) or at the band "extent"
s to indicate intervals
For band scales, indicates if ticks and grid lines should be placed at the "center"
of a band (default) or at the band "extent"
s to indicate intervals
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Tick-Specific Config
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Locale definition for formatting dates and times.
Defines how date-time values should be binned.
Defines how date-time values should be binned.
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Default title orientation ("top"
, "bottom"
, "left"
, or "right"
)
Default title orientation ("top"
, "bottom"
, "left"
, or "right"
)
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
The imputation method to use for the field value of imputed data objects. One of "value"
, "mean"
, "median"
, "max"
or "min"
.
The imputation method to use for the field value of imputed data objects. One of "value"
, "mean"
, "median"
, "max"
or "min"
.
Default value: "value"
The functional form of the regression model. One of "linear"
, "log"
, "exp"
, "pow"
, "quad"
, or "poly"
.
Default value: "linear"
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The type of measurement ("quantitative"
, "temporal"
, "ordinal"
, or "nominal"
) for the encoded field or constant value (datum
). It can also be a "geojson"
type for encoding 'geoshape'.
The type of measurement ("quantitative"
, "temporal"
, "ordinal"
, or "nominal"
) for the encoded field or constant value (datum
). It can also be a "geojson"
type for encoding 'geoshape'.
Vega-Lite automatically infers data types in many cases as discussed below. However, type is required for a field if: (1) the field is not nominal and the field encoding has no specified aggregate
(except argmin
and argmax
), bin
, scale type, custom sort
order, nor timeUnit
or (2) if you wish to use an ordinal scale for a field with bin
or timeUnit
.
Default value:
- For a data
field
,"nominal"
is the default data type unless the field encoding hasaggregate
,channel
,bin
, scale type,sort
, ortimeUnit
that satisfies the following criteria:
"quantitative"
is the default type if (1) the encoded field containsbin
oraggregate
except"argmin"
and"argmax"
, (2) the encoding channel islatitude
orlongitude
channel or (3) if the specified scale type is a quantitative scale."temporal"
is the default type if (1) the encoded field containstimeUnit
or (2) the specified scale type is a time or utc scale"ordinal"
is the default type if (1) the encoded field contains a customsort
order, (2) the specified scale type is an ordinal/point/band scale, or (3) the encoding channel isorder
.
- For a constant value in data domain (
datum
):
"quantitative"
if the datum is a number"nominal"
if the datum is a string"temporal"
if the datum is a date time object
Note:
- Data
type
describes the semantics of the data rather than the primitive data types (number, string, etc.). The same primitive data type can have different types of measurement. For example, numeric data can represent quantitative, ordinal, or nominal data. - Data values for a temporal field can be either a date-time string (e.g.,
"2015-03-07 12:32:17"
,"17:01"
,"2015-03-16"
."2015"
) or a timestamp number (e.g.,1552199579097
). - When using with
bin
, thetype
property can be either"quantitative"
(for using a linear bin scale) or"ordinal"
(for using an ordinal bin scale). - When using with
timeUnit
, thetype
property can be either"temporal"
(default, for using a temporal scale) or"ordinal"
(for using an ordinal scale). - When using with
aggregate
, thetype
property refers to the post-aggregation data type. For example, we can calculate countdistinct
of a categorical field"cat"
using{"aggregate": "distinct", "field": "cat"}
. The"type"
of the aggregate output is"quantitative"
. - Secondary channels (e.g.,
x2
,y2
,xError
,yError
) do not havetype
as they must have exactly the same type as their primary channels (e.g.,x
,y
).
See also: type
documentation.
Data type based on level of measurement
Attributes
- Source
- vega-lite.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Field Def without scale (and without bin: "binned" support).
Field Def without scale (and without bin: "binned" support).
Definition object for a data field, its type and transformation of an encoding channel.
A data field to use as a unique key for data binding. When a visualization’s data is updated, the key value will be used to match data elements to existing mark instances. Use a key channel to enable object constancy for transitions over dynamic data.
Attributes
- Source
- vega-lite.scala
- Supertypes
A text description of this mark for ARIA accessibility (SVG output only). For SVG output the "aria-label"
attribute will be set to this description.
A text description of this mark for ARIA accessibility (SVG output only). For SVG output the "aria-label"
attribute will be set to this description.
A URL to load upon mouse click.
The URL of an image mark.
A FieldDef with Condition
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
Attributes
- Source
- vega-lite.scala
- Supertypes
A specification of the view that gets faceted.
A specification of the view that gets faceted.
A specification of the view that gets repeated.
A full layered plot specification, which may contains encoding
and projection
properties that will be applied to underlying unit (single-view) specifications.
Any specification in Vega-Lite.
Unit spec that can have a composite mark and row or column channels (shorthand for a facet spec).
Base interface for a repeat specification.
Base interface for a facet specification.
Base interface for a generalized concatenation specification.
Base interface for a vertical concatenation specification.
Base interface for a horizontal concatenation specification.
Attributes
- Source
- vega-lite.scala
- Supertypes
A Vega-Lite top-level specification. This is the root class for all Vega-Lite specifications. (The json schema is generated from this type.)
A Vega-Lite top-level specification. This is the root class for all Vega-Lite specifications. (The json schema is generated from this type.)
Attributes
- Source
- vega-lite.scala
- Supertypes
An object defining the view background's fill and stroke.
An object defining the view background's fill and stroke.
Default value: none (transparent)
Attributes
- Source
- vega-lite.scala
- Supertypes
Default properties for single view plots.
Attributes
- Source
- vega-lite.scala
- Supertypes
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Longitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
The inner radius in pixels of arc marks.
The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise.
X2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "width"
for the width of the plot.
Y2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "height"
for the height of the plot.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
X coordinates of the marks, or width of horizontal "bar"
and "area"
without specified x2
or width
.
X coordinates of the marks, or width of horizontal "bar"
and "area"
without specified x2
or width
.
The value
of this channel can be a number or a string "width"
for the width of the plot.
Y coordinates of the marks, or height of vertical "bar"
and "area"
without specified y2
or height
.
The value
of this channel can be a number or a string "height"
for the height of the plot.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Error value of x coordinates for error specified "errorbar"
and "errorband"
.
Error value of x coordinates for error specified "errorbar"
and "errorband"
.
Secondary error value of x coordinates for error specified "errorbar"
and "errorband"
.
Error value of y coordinates for error specified "errorbar"
and "errorband"
.
Secondary error value of y coordinates for error specified "errorbar"
and "errorband"
.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Error value of x coordinates for error specified "errorbar"
and "errorband"
.
Error value of x coordinates for error specified "errorbar"
and "errorband"
.
Secondary error value of x coordinates for error specified "errorbar"
and "errorband"
.
Error value of y coordinates for error specified "errorbar"
and "errorband"
.
Secondary error value of y coordinates for error specified "errorbar"
and "errorband"
.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Offset of x-position of the marks
Offset of x-position of the marks
Offset of y-position of the marks
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Latitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
Longitude-2 position for geographically projected ranged "area"
, "bar"
, "rect"
, and "rule"
.
The inner radius in pixels of arc marks.
The end angle of arc marks in radians. A value of 0 indicates up or “north”, increasing values proceed clockwise.
X2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "width"
for the width of the plot.
Y2 coordinates for ranged "area"
, "bar"
, "rect"
, and "rule"
.
The value
of this channel can be a number or a string "height"
for the height of the plot.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
X coordinates of the marks, or width of horizontal "bar"
and "area"
without specified x2
or width
.
X coordinates of the marks, or width of horizontal "bar"
and "area"
without specified x2
or width
.
The value
of this channel can be a number or a string "width"
for the width of the plot.
Y coordinates of the marks, or height of vertical "bar"
and "area"
without specified y2
or height
.
The value
of this channel can be a number or a string "height"
for the height of the plot.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Error value of x coordinates for error specified "errorbar"
and "errorband"
.
Error value of x coordinates for error specified "errorbar"
and "errorband"
.
Secondary error value of x coordinates for error specified "errorbar"
and "errorband"
.
Error value of y coordinates for error specified "errorbar"
and "errorband"
.
Secondary error value of y coordinates for error specified "errorbar"
and "errorband"
.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Error value of x coordinates for error specified "errorbar"
and "errorband"
.
Error value of x coordinates for error specified "errorbar"
and "errorband"
.
Secondary error value of x coordinates for error specified "errorbar"
and "errorband"
.
Error value of y coordinates for error specified "errorbar"
and "errorband"
.
Secondary error value of y coordinates for error specified "errorbar"
and "errorband"
.
A field definition of a secondary channel that shares a scale with another primary channel. For example, x2
, xError
and xError2
share the same scale with x
.
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Offset of x-position of the marks
Offset of x-position of the marks
Offset of y-position of the marks
Definition object for a constant value (primitive value or gradient definition) of an encoding channel.
Attributes
- Source
- vega-lite.scala
- Supertypes
Types
Aggregation function for the field (e.g., "mean"
, "sum"
, "median"
, "min"
, "max"
, "count"
).
Aggregation function for the field (e.g., "mean"
, "sum"
, "median"
, "min"
, "max"
, "count"
).
Default value: undefined
(None)
See also: aggregate
documentation.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
A string describing the mark type (one of "bar"
, "circle"
, "square"
, "tick"
, "line"
, "area"
, "point"
, "rule"
, "geoshape"
, and "text"
) or a mark definition object.
A string describing the mark type (one of "bar"
, "circle"
, "square"
, "tick"
, "line"
, "area"
, "point"
, "rule"
, "geoshape"
, and "text"
) or a mark definition object.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
How the visualization size should be determined. If a string, should be one of "pad"
, "fit"
or "none"
. Object values can additionally specify parameters for content sizing and automatic resizing.
How the visualization size should be determined. If a string, should be one of "pad"
, "fit"
or "none"
. Object values can additionally specify parameters for content sizing and automatic resizing.
Default value: pad
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
CSS color property to use as the background of the entire view.
CSS color property to use as the background of the entire view.
Default value: "white"
The color of the header label, can be in hex color code or regular color name.
Color of the header title, can be in hex color code or regular color name.
For text marks, the vertical text baseline. One of "alphabetic"
(default), "top"
, "middle"
, "bottom"
, "line-top"
, "line-bottom"
, or an expression reference that provides one of the valid values. The "line-top"
and "line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated relative to the lineHeight
rather than fontSize
alone.
For range marks, the vertical alignment of the marks. One of "top"
, "middle"
, "bottom"
.
Note: Expression reference is not supported for range marks.
The vertical text baseline for the header labels. One of "alphabetic"
(default), "top"
, "middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and "line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated relative to the titleLineHeight
rather than titleFontSize
alone.
The vertical text baseline for the header title. One of "alphabetic"
(default), "top"
, "middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and "line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated relative to the titleLineHeight
rather than titleFontSize
alone.
Default value: "middle"
Attributes
- Source
- vega-lite.scala
A two-element ([min, max]
) array indicating the range of desired bin values.
A two-element ([min, max]
) array indicating the range of desired bin values.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Value representing the day of a week. This can be one of: (1) integer value -- 1
represents Monday; (2) case-insensitive day name (e.g., "Monday"
); (3) case-insensitive, 3-character short day name (e.g., "Mon"
).
Value representing the day of a week. This can be one of: (1) integer value -- 1
represents Monday; (2) case-insensitive day name (e.g., "Monday"
); (3) case-insensitive, 3-character short day name (e.g., "Mon"
).
Warning: A DateTime definition object with day
** should not be combined with year
, quarter
, month
, or date
.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
The default height when the plot has non arc marks and either a discrete y-field or no y-field. The height can be either a number indicating a fixed height or an object in the form of {step: number}
defining the height per discrete step.
The default height when the plot has non arc marks and either a discrete y-field or no y-field. The height can be either a number indicating a fixed height or an object in the form of {step: number}
defining the height per discrete step.
Default value: a step size based on config.view.step
.
Attributes
- Source
- vega-lite.scala
The default width when the plot has non-arc marks and either a discrete x-field or no x-field. The width can be either a number indicating a fixed width or an object in the form of {step: number}
defining the width per discrete step.
The default width when the plot has non-arc marks and either a discrete x-field or no x-field. The width can be either a number indicating a fixed width or an object in the form of {step: number}
defining the width per discrete step.
Default value: a step size based on config.view.step
.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Customized domain values in the form of constant values or dynamic values driven by a parameter.
Customized domain values in the form of constant values or dynamic values driven by a parameter.
- Constant
domain
for quantitative fields can take one of the following forms:
- A two-element array with minimum and maximum values. To create a diverging scale, this two-element array can be combined with the
domainMid
property. - An array with more than two entries, for Piecewise quantitative scales.
- A string value
"unaggregated"
, if the input field is aggregated, to indicate that the domain should include the raw data values prior to the aggregation.
-
Constant
domain
for temporal fields can be a two-element array with minimum and maximum values, in the form of either timestamps or the DateTime definition objects. -
Constant
domain
for ordinal and nominal fields can be an array that lists valid input values. -
To combine (union) specified constant domain with the field's values,
domain
can be an object with aunionWith
property that specify constant domain to be combined. For example,domain: {unionWith: [0, 100]}
for a quantitative scale means that the scale domain always includes[0, 100]
, but will include other values in the fields beyond[0, 100]
. -
Domain can also takes an object defining a field or encoding of a parameter that interactively determines the scale domain.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
The value that the field should be equal to.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Required. A string defining the name of the field from which to pull a data value or an object defining iterated values from the repeat
operator.
Required. A string defining the name of the field from which to pull a data value or an object defining iterated values from the repeat
operator.
See also: field
documentation.
Notes: 1) Dots (.
) and brackets ([
and ]
) can be used to access nested objects (e.g., "field": "foo.bar"
and "field": "foo['bar']"
). If field names contain dots or brackets but are not nested, you can use \\
to escape dots and brackets (e.g., "a\\.b"
and "a\\[0\\]"
). See more details about escaping in the field documentation. 2) field
is not required if aggregate
is count
.
The data field to sort by.
Default value: If unspecified, defaults to the field specified in the outer data reference.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
The font weight of the header label.
The font weight of the header label.
Font weight of the header title. This can be either a string (e.g "bold"
, "normal"
) or a number (100
, 200
, 300
, ..., 900
where "normal"
= 400
and "bold"
= 700
).
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Generate graticule GeoJSON data for geographic reference lines.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
The full data set, included inline. This can be an array of objects or primitive values, an object, or a string. Arrays of primitive values are ingested as objects with a data
property. Strings are parsed according to the specified format type.
The full data set, included inline. This can be an array of objects or primitive values, an object, or a string. Arrays of primitive values are ingested as objects with a data
property. Strings are parsed according to the specified format type.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Indicates if labels should be hidden if they exceed the axis range. If false
(the default) no bounds overlap analysis is performed. If true
, labels will be hidden if they exceed the axis range by more than 1 pixel. If this property is a number, it specifies the pixel tolerance: the maximum amount by which a label bounding box may exceed the axis range.
Indicates if labels should be hidden if they exceed the axis range. If false
(the default) no bounds overlap analysis is performed. If true
, labels will be hidden if they exceed the axis range by more than 1 pixel. If this property is a number, it specifies the pixel tolerance: the maximum amount by which a label bounding box may exceed the axis range.
Default value: false
.
Indicates if the first and last axis labels should be aligned flush with the scale range. Flush alignment for a horizontal axis will left-align the first label and right-align the last label. For vertical axes, bottom and top text baselines are applied instead. If this property is a number, it also indicates the number of pixels by which to offset the first and last labels; for example, a value of 2 will flush-align the first and last labels and also push them 2 pixels outward from the center of the axis. The additional adjustment can sometimes help the labels better visually group with corresponding axis ticks.
Default value: true
for axis of a continuous x-scale. Otherwise, false
.
Attributes
- Source
- vega-lite.scala
The strategy to use for resolving overlap of axis labels. If false
(the default), no overlap reduction is attempted. If set to true
or "parity"
, a strategy of removing every other label is used (this works well for standard linear axes). If set to "greedy"
, a linear scan of the labels is performed, removing any labels that overlaps with the last visible label (this often works better for log-scaled axes).
The strategy to use for resolving overlap of axis labels. If false
(the default), no overlap reduction is attempted. If set to true
or "parity"
, a strategy of removing every other label is used (this works well for standard linear axes). If set to "greedy"
, a linear scan of the labels is performed, removing any labels that overlaps with the last visible label (this often works better for log-scaled axes).
Default value: true
for non-nominal fields with non-log scales; "greedy"
for log scales; otherwise false
.
The strategy to use for resolving overlap of labels in gradient legends. If false
, no overlap reduction is attempted. If set to true
or "parity"
, a strategy of removing every other label is used. If set to "greedy"
, a linear scan of the labels is performed, removing any label that overlaps with the last visible label (this often works better for log-scaled axes).
Default value: "greedy"
for log scales otherwise
true`.
Attributes
- Source
- vega-lite.scala
Title for the plot.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
An array of inclusive minimum and maximum values for a field value of a data item to be included in the filtered data.
An array of inclusive minimum and maximum values for a field value of a data item to be included in the filtered data.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Default color.
Default color.
Default value: ■ "#4682b4"
Note:
- This property cannot be used in a style config.
- The
fill
andstroke
properties have higher precedence thancolor
and will overridecolor
.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
One of: (1) integer value representing the month from 1
-12
. 1
represents January; (2) case-insensitive month name (e.g., "January"
); (3) case-insensitive, 3-character short month name (e.g., "Jan"
).
One of: (1) integer value representing the month from 1
-12
. 1
represents January; (2) case-insensitive month name (e.g., "January"
); (3) case-insensitive, 3-character short month name (e.g., "Jan"
).
Attributes
- Source
- vega-lite.scala
Extending the domain so that it starts and ends on nice round values. This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. Nicing is useful if the domain is computed from data and may be irregular. For example, for a domain of [0.201479…, 0.996679…], a nice domain might be [0.2, 1.0].
Extending the domain so that it starts and ends on nice round values. This method typically modifies the scale’s domain, and may only extend the bounds to the nearest round value. Nicing is useful if the domain is computed from data and may be irregular. For example, for a domain of [0.201479…, 0.996679…], a nice domain might be [0.2, 1.0].
For quantitative scales such as linear, nice
can be either a boolean flag or a number. If nice
is a number, it will represent a desired tick count. This allows greater control over the step size used to extend the bounds, guaranteeing that the returned ticks will exactly cover the domain.
For temporal fields with time and utc scales, the nice
value can be a string indicating the desired time interval. Legal values are "millisecond"
, "second"
, "minute"
, "hour"
, "day"
, "week"
, "month"
, and "year"
. Alternatively, time
and utc
scales can accept an object-valued interval specifier of the form {"interval": "month", "step": 3}
, which includes a desired number of interval steps. Here, the domain would snap to quarter (Jan, Apr, Jul, Oct) boundaries.
Default value: true
for unbinned quantitative fields without explicit domain bounds; false
otherwise.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
One or more value definition(s) with a parameter or a test predicate.
One or more value definition(s) with a parameter or a test predicate.
Note: A field definition's condition
property can only contain conditional value definitions since Vega-Lite only allows at most one encoded field per encoding channel.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format {"left": 5, "top": 5, "right": 5, "bottom": 5}
to specify padding for each side of the visualization.
The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format {"left": 5, "top": 5, "right": 5, "bottom": 5}
to specify padding for each side of the visualization.
Default value: 5
Attributes
- Source
- vega-lite.scala
When set, a selection is populated by input elements (also known as dynamic query widgets) or by interacting with the corresponding legend. Direct manipulation interaction is disabled by default; to re-enable it, set the selection's on
property.
When set, a selection is populated by input elements (also known as dynamic query widgets) or by interacting with the corresponding legend. Direct manipulation interaction is disabled by default; to re-enable it, set the selection's on
property.
Legend bindings are restricted to selections that only specify a single field or encoding.
Query widget binding takes the form of Vega's input element binding definition or can be a mapping between projected field/encodings and binding definitions.
See also: bind
documentation.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Predicate for triggering the condition
Predicate for triggering the condition
The filter
property must be a predication definition, which can take one of the following forms:
-
an expression string, where
datum
can be used to refer to the current data object. For example,{filter: "datum.b2 > 60"}
would make the output data includes only items that have values in the fieldb2
over 60. -
one of the field predicates:
equal
,lt
,lte
,gt
,gte
,range
,oneOf
, orvalid
, -
a selection predicate, which define the names of a selection that the data point should belong to (or a logical composition of selections).
-
a logical composition of (1), (2), or (3).
Attributes
- Source
- vega-lite.scala
A constant value in data domain.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Bin boundaries can be provided to scales as either an explicit array of bin boundaries or as a bin specification object. The legal values are:
Bin boundaries can be provided to scales as either an explicit array of bin boundaries or as a bin specification object. The legal values are:
- An array literal of bin boundary values. For example,
[0, 5, 10, 15, 20]
. The array must include both starting and ending boundaries. The previous example uses five values to indicate a total of four bin intervals: [0-5), [5-10), [10-15), [15-20]. Array literals may include signal references as elements. - A bin specification object that indicates the bin step size, and optionally the start and stop boundaries.
- An array of bin boundaries over the scale domain. If provided, axes and legends will use the bin boundaries to inform the choice of tick marks and text labels.
Attributes
- Source
- vega-lite.scala
The interpolation method for range values. By default, a general interpolator for numbers, dates, strings and colors (in HCL space) is used. For color ranges, this property allows interpolation in alternative color spaces. Legal values include rgb
, hsl
, hsl-long
, lab
, hcl
, hcl-long
, cubehelix
and cubehelix-long
('-long' variants use longer paths in polar coordinate spaces). If object-valued, this property accepts an object with a string-valued type property and an optional numeric gamma property applicable to rgb and cubehelix interpolators. For more, see the d3-interpolate documentation.
The interpolation method for range values. By default, a general interpolator for numbers, dates, strings and colors (in HCL space) is used. For color ranges, this property allows interpolation in alternative color spaces. Legal values include rgb
, hsl
, hsl-long
, lab
, hcl
, hcl-long
, cubehelix
and cubehelix-long
('-long' variants use longer paths in polar coordinate spaces). If object-valued, this property accepts an object with a string-valued type property and an optional numeric gamma property applicable to rgb and cubehelix interpolators. For more, see the d3-interpolate documentation.
- Default value:
hcl
Attributes
- Source
- vega-lite.scala
The range of the scale. One of:
The range of the scale. One of:
-
A string indicating a pre-defined named scale range (e.g., example,
"symbol"
, or"diverging"
). -
For continuous scales, two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a piecewise scale.
-
For discrete and discretizing scales, an array of desired output values or an object with a
field
property representing the range values. For example, if a fieldcolor
contains CSS color names, we can setrange
to{field: "color"}
.
Notes:
Attributes
- Source
- vega-lite.scala
A string indicating a color scheme name (e.g., "category10"
or "blues"
) or a scheme parameter object.
A string indicating a color scheme name (e.g., "category10"
or "blues"
) or a scheme parameter object.
Discrete color schemes may be used with discrete or discretizing scales. Continuous color schemes are intended for use with color scales.
For the full list of supported schemes, please refer to the Vega Scheme reference.
Attributes
- Source
- vega-lite.scala
Determines the default event processing and data query for the selection. Vega-Lite currently supports two selection types:
Determines the default event processing and data query for the selection. Vega-Lite currently supports two selection types:
"point"
-- to select multiple discrete data values; the first value is selected onclick
and additional values toggled on shift-click."interval"
-- to select a continuous range of data values ondrag
.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Sort order for the encoded field.
Sort order for the encoded field.
For continuous fields (quantitative or temporal), sort
can be either "ascending"
or "descending"
.
For discrete fields, sort
can be one of the following:
"ascending"
or"descending"
-- for sorting by the values' natural order in JavaScript.- A string indicating an encoding channel name to sort by (e.g.,
"x"
or"y"
) with an optional minus prefix for descending sort (e.g.,"-x"
to sort by x-field, descending). This channel string is short-form of a sort-by-encoding definition. For example,"sort": "-x"
is equivalent to"sort": {"encoding": "x", "order": "descending"}
. - A sort field definition for sorting by another field.
- An array specifying the field values in preferred order. In this case, the sort order will obey the values in the array, followed by any unspecified values in their original order. For discrete time field, values in the sort array can be date-time definition objects. In addition, for time units
"month"
and"day"
, the values can be the month or day names (case insensitive) or their 3-letter initials (e.g.,"Mon"
,"Tue"
). null
indicating no sort.
Default value: "ascending"
Note: null
and sorting by another channel is not supported for row
and column
.
See also: sort
documentation.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Generate sphere GeoJSON data for the full globe.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
The projection’s translation offset as a two-element array [tx, ty]
.
The projection’s translation offset as a two-element array [tx, ty]
.
A constant value in visual domain (e.g., "red"
/ "#0099ff"
/ gradient definition for color, values between 0
to 1
for opacity).
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
A string or array of strings indicating the name of custom styles to apply to the mark. A style is a named collection of mark property defaults defined within the style configuration. If style is an array, later styles will override earlier styles. Any mark properties explicitly defined within the encoding
will override a style default.
A string or array of strings indicating the name of custom styles to apply to the mark. A style is a named collection of mark property defaults defined within the style configuration. If style is an array, later styles will override earlier styles. Any mark properties explicitly defined within the encoding
will override a style default.
Default value: The mark's name. For example, a bar mark will have style "bar"
by default. Note: Any specified style will augment the default style. For example, a bar mark with "style": "foo"
will receive from config.style.bar
and config.style.foo
(the specified style "foo"
has higher precedence).
A string or array of strings indicating the name of custom styles to apply to the axis. A style is a named collection of axis property defined within the style configuration. If style is an array, later styles will override earlier styles.
Default value: (none) Note: Any specified style will augment the default style. For example, an x-axis mark with "style": "foo"
will use config.axisX
and config.style.foo
(the specified style "foo"
has higher precedence).
A mark style property to apply to the title text mark.
Default value: "group-title"
.
Placeholder text if the text
channel is not specified
The subtitle Text.
A string or array of strings indicating the name of custom styles to apply to the view background. A style is a named collection of mark property defaults defined within the style configuration. If style is an array, later styles will override earlier styles.
Default value: "cell"
Note: Any specified view background properties will augment the default style.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
A constant value in visual domain (e.g., "red"
/ "#0099ff"
/ gradient definition for color, values between 0
to 1
for opacity).
A constant value in visual domain (e.g., "red"
/ "#0099ff"
/ gradient definition for color, values between 0
to 1
for opacity).
The title text.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Time unit for the field to be tested.
Time unit for the field to be tested.
Time unit (e.g., year
, yearmonth
, month
, hours
) for a temporal field. or a temporal field that gets casted as ordinal.
Default value: undefined
(None)
See also: timeUnit
documentation.
The timeUnit.
Attributes
- Source
- vega-lite.scala
The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of "left"
, "right"
, "center"
.
The horizontal alignment of the text or ranged marks (area, bar, image, rect, rule). One of "left"
, "right"
, "center"
.
Note: Expression reference is not supported for range marks.
Horizontal text alignment of header labels. One of "left"
, "center"
, or "right"
.
Horizontal text alignment (to the anchor) of header titles.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Controls whether data values should be toggled (inserted or removed from a point selection) or only ever inserted into point selections.
Controls whether data values should be toggled (inserted or removed from a point selection) or only ever inserted into point selections.
One of:
true
-- the default behavior, which corresponds to"event.shiftKey"
. As a result, data values are toggled when the user interacts with the shift-key pressed.false
-- disables toggling behaviour; the selection will only ever contain a single data value corresponding to the most recent interaction.- A Vega expression which is re-evaluated as the user interacts. If the expression evaluates to
true
, the data value is toggled into or out of the point selection. If the expression evaluates tofalse
, the point selection is first cleared, and the data value is then inserted. For example, setting the value to the Vega expression"true"
will toggle data values without the user pressing the shift-key.
Default value: true
See also: toggle
examples in the documentation.
When truthy, allows a user to interactively move an interval selection back-and-forth. Can be true
, false
(to disable panning), or a Vega event stream definition which must include a start and end event to trigger continuous panning. Discrete panning (e.g., pressing the left/right arrow keys) will be supported in future versions.
Default value: true
, which corresponds to [mousedown, window:mouseup] > window:mousemove!
. This default allows users to clicks and drags within an interval selection to reposition it.
See also: translate
examples in the documentation.
When truthy, allows a user to interactively resize an interval selection. Can be true
, false
(to disable zooming), or a Vega event stream definition. Currently, only wheel
events are supported, but custom event streams can still be used to specify filters, debouncing, and throttling. Future versions will expand the set of events that can trigger this transformation.
Default value: true
, which corresponds to wheel!
. This default allows users to use the mouse wheel to resize an interval selection.
See also: zoom
examples in the documentation.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
An object indicating bin properties, or simply true
for using default bin parameters.
An object indicating bin properties, or simply true
for using default bin parameters.
Attributes
- Source
- vega-lite.scala
The cartographic projection to use. This value is case-insensitive, for example "albers"
and "Albers"
indicate the same projection type. You can find all valid projection types in the documentation.
The cartographic projection to use. This value is case-insensitive, for example "albers"
and "Albers"
indicate the same projection type. You can find all valid projection types in the documentation.
Default value: equalEarth
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Explicitly set the visible axis tick values.
Explicitly set the visible axis tick values.
Explicitly set the visible legend values.
Attributes
- Source
- vega-lite.scala
The alignment to apply to grid rows and columns. The supported string values are "all"
, "each"
, and "none"
.
The alignment to apply to grid rows and columns. The supported string values are "all"
, "each"
, and "none"
.
- For
"none"
, a flow layout will be used, in which adjacent subviews are simply placed one after the other. - For
"each"
, subviews will be aligned into a clean grid structure, but each row or column may be of variable size. - For
"all"
, subviews will be aligned and each row or column will be sized identically based on the maximum observed size. String values for this property will be applied to both grid rows and columns.
Alternatively, an object value of the form {"row": string, "column": string}
can be used to supply different alignments for rows and columns.
Default value: "all"
.
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Givens
Givens
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala
Attributes
- Source
- vega-lite.scala