schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
vega-lite.json
sort
The sort order. One of `"ascending"` (default) or `"descending"`.
{}
vega-lite.json
timeUnit
Time unit (e.g., `year`, `yearmonth`, `month`, `hours`) for a temporal field. or [a temporal field that gets casted as ordinal](type.html#cast). __Default value:__ `undefined` (None)
{}
vega-lite.json
type
The encoded field's type of measurement (`"quantitative"`, `"temporal"`, `"ordinal"`, or `"nominal"`).
{}
vega-lite.json
aggregate
Aggregation function for the field (e.g., `mean`, `sum`, `median`, `min`, `max`, `count`). __Default value:__ `undefined` (None)
{}
vega-lite.json
axis
An object defining properties of axis's gridlines, ticks and labels. If `null`, the axis for the encoding channel will be removed. __Default value:__ If undefined, default [axis properties](axis.html) are applied.
{"anyOf": [{}, {"type": "null"}]}
vega-lite.json
bin
A flag for binning a `quantitative` field, or [an object defining binning parameters](bin.html#params). If `true`, default [binning parameters](bin.html) will be applied. __Default value:__ `false`
{"anyOf": [{"type": "boolean"}, {}]}
vega-lite.json
field
__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`](repeat.html) operator. __Note:__ `field` is not required if `aggregate` is `count`.
{"anyOf": [{"type": "string"}, {}]}
vega-lite.json
scale
An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. __Default value:__ If undefined, default [scale properties](scale.html) are applied.
{}
vega-lite.json
sort
Sort order for the encoded field. Supported `sort` values include `"ascending"`, `"descending"` and `null` (no sorting). For fields with discrete domains, `sort` can also be a [sort field definition object](sort.html#sort-field). __Default value:__ `"ascending"`
{"anyOf": [{}, {}, {"type": "null"}]}
vega-lite.json
stack
Type of stacking offset if the field should be stacked. `stack` is only applicable for `x` and `y` channels with continuous domains. For example, `stack` of `y` can be used to customize stacking for a vertical bar chart. `stack` can be one of the following values: - `"zero"`: stacking with baseline offset at zero value of the scale (for creating typical stacked [bar](stack.html#bar) and [area](stack.html#area) chart). - `"normalize"` - stacking with normalized domain (for creating [normalized stacked bar and area charts](stack.html#normalized). <br/> -`"center"` - stacking with center baseline (for [streamgraph](stack.html#streamgraph)). - `null` - No-stacking. This will produce layered [bar](stack.html#layered-bar-chart) and area chart. __Default value:__ `zero` for plots with all of the following conditions are true: (1) the mark is `bar` or `area`; (2) the stacked measure channel (x or y) has a linear scale; (3) At least one of non-position channels mapped to an unaggregated field that is different from x and y. Otherwise, `null` by default.
{"anyOf": [{}, {"type": "null"}]}
vega-lite.json
timeUnit
Time unit (e.g., `year`, `yearmonth`, `month`, `hours`) for a temporal field. or [a temporal field that gets casted as ordinal](type.html#cast). __Default value:__ `undefined` (None)
{}
vega-lite.json
type
The encoded field's type of measurement (`"quantitative"`, `"temporal"`, `"ordinal"`, or `"nominal"`).
{}
vega-lite.json
category
Default range for _nominal_ (categorical) fields.
{"anyOf": [{"items": {"type": "string"}, "type": "array"}, {}]}
vega-lite.json
diverging
Default range for diverging _quantitative_ fields.
{"anyOf": [{"items": {"type": "string"}, "type": "array"}, {}]}
vega-lite.json
heatmap
Default range for _quantitative_ heatmaps.
{"anyOf": [{"items": {"type": "string"}, "type": "array"}, {}]}
vega-lite.json
ordinal
Default range for _ordinal_ fields.
{"anyOf": [{"items": {"type": "string"}, "type": "array"}, {}]}
vega-lite.json
ramp
Default range for _quantitative_ and _temporal_ fields.
{"anyOf": [{"items": {"type": "string"}, "type": "array"}, {}]}
vega-lite.json
symbol
Default range palette for the `shape` channel.
{"items": {"type": "string"}, "type": "array"}
vega-lite.json
field
Field to be filtered
{"type": "string"}
vega-lite.json
range
An array of inclusive minimum and maximum values for a field value of a data item to be included in the filtered data.
{"items": {"anyOf": [{"type": "number"}, {}]}, "maxItems": 2, "minItems": 2, "type": "array"}
vega-lite.json
timeUnit
time unit for the field to be filtered.
{}
vega-lite.json
column
Horizontal repeated views.
{"items": {"type": "string"}, "type": "array"}
vega-lite.json
row
Vertical repeated views.
{"items": {"type": "string"}, "type": "array"}
vega-lite.json
RepeatRef
Reference to a repeated value.
{"additionalProperties": false, "properties": {"repeat": {"enum": ["row", "column"], "type": "string"}}, "required": ["repeat"], "type": "object"}
vega-lite.json
Resolve
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.
{"additionalProperties": false, "properties": {"axis": {}, "legend": {}, "scale": {}}, "type": "object"}
vega-lite.json
base
The logarithm base of the `log` scale (default `10`).
{"type": "number"}
vega-lite.json
clamp
If `true`, values that exceed the data domain are clamped to either the minimum or maximum range value __Default value:__ derived from the [scale config](config.html#scale-config)'s `clamp` (`true` by default).
{"type": "boolean"}
vega-lite.json
domain
Customized domain values. For _quantitative_ fields, `domain` can take the form of a two-element array with minimum and maximum values. [Piecewise scales](scale.html#piecewise) can be created by providing a `domain` with more than two entries. If the input field is aggregated, `domain` can also be a string value `"unaggregated"`, indicating that the domain should include the raw data values prior to the aggregation. For _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](types.html#datetime). For _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values. The `selection` property can be used to [interactively determine](selection.html#scale-domains) the scale domain.
{"anyOf": [{"items": {"type": "number"}, "type": "array"}, {"items": {"type": "string"}, "type": "array"}, {"items": {"type": "boolean"}, "type": "array"}, {"items": {}, "type": "array"}, {"enum": ["unaggregated"], "type": "string"}, {}]}
vega-lite.json
exponent
The exponent of the `pow` scale.
{"type": "number"}
vega-lite.json
interpolate
The interpolation method for range values. By default, a general interpolator for numbers, dates, strings and colors (in RGB 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](https://github.com/d3/d3-interpolate).
{"anyOf": [{}, {}]}
vega-lite.json
nice
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; `false` otherwise.
{"anyOf": [{"type": "boolean"}, {"type": "number"}, {}, {"additionalProperties": false, "properties": {"interval": {"type": "string"}, "step": {"type": "number"}}, "required": ["interval", "step"], "type": "object"}]}
vega-lite.json
padding
For _[continuous](scale.html#continuous)_ scales, expands the scale domain to accommodate the specified number of pixels on each of the scale range. The scale range must represent pixels for this parameter to function as intended. Padding adjustment is performed prior to all other adjustments, including the effects of the zero, nice, domainMin, and domainMax properties. For _[band](scale.html#band)_ scales, shortcut for setting `paddingInner` and `paddingOuter` to the same value. For _[point](scale.html#point)_ scales, alias for `paddingOuter`. __Default value:__ For _continuous_ scales, derived from the [scale config](scale.html#config)'s `continuousPadding`. For _band and point_ scales, see `paddingInner` and `paddingOuter`.
{"minimum": 0, "type": "number"}
vega-lite.json
paddingInner
The inner padding (spacing) within each band step of band scales, as a fraction of the step size. This value must lie in the range [0,1]. For point scale, this property is invalid as point scales do not have internal band widths (only step sizes between bands). __Default value:__ derived from the [scale config](scale.html#config)'s `bandPaddingInner`.
{"maximum": 1, "minimum": 0, "type": "number"}
vega-lite.json
paddingOuter
The outer padding (spacing) at the ends of the range of band and point scales, as a fraction of the step size. This value must lie in the range [0,1]. __Default value:__ derived from the [scale config](scale.html#config)'s `bandPaddingOuter` for band scales and `pointPadding` for point scales.
{"maximum": 1, "minimum": 0, "type": "number"}
vega-lite.json
range
The range of the scale. One of: - A string indicating a [pre-defined named scale range](scale.html#range-config) (e.g., example, `"symbol"`, or `"diverging"`). - For [continuous scales](scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](scale.html#piecewise). - For [discrete](scale.html#discrete) and [discretizing](scale.html#discretizing) scales, an array of desired output values. __Notes:__ 1) For [sequential](scale.html#sequential), [ordinal](scale.html#ordinal), and discretizing color scales, you can also specify a color [`scheme`](scale.html#scheme) instead of `range`. 2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](size.html) (`width` and `height`) or via [range steps and paddings properties](#range-step) for [band](#band) and [point](#point) scales.
{"anyOf": [{"items": {"type": "number"}, "type": "array"}, {"items": {"type": "string"}, "type": "array"}, {"type": "string"}]}
vega-lite.json
rangeStep
The distance between the starts of adjacent bands or points in [band](scale.html#band) and [point](scale.html#point) scales. If `rangeStep` is `null` or if the view contains the scale's corresponding [size](size.html) (`width` for `x` scales and `height` for `y` scales), `rangeStep` will be automatically determined to fit the size of the view. __Default value:__ derived the [scale config](config.html#scale-config)'s `textXRangeStep` (`90` by default) for x-scales of `text` marks and `rangeStep` (`21` by default) for x-scales of other marks and y-scales. __Warning__: If `rangeStep` is `null` and the cardinality of the scale's domain is higher than `width` or `height`, the rangeStep might become less than one pixel and the mark might not appear correctly.
{"minimum": 0, "type": ["number", "null"]}
vega-lite.json
round
If `true`, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid. __Default value:__ `false`.
{"type": "boolean"}
vega-lite.json
scheme
A string indicating a color [scheme](scale.html#scheme) name (e.g., `"category10"` or `"viridis"`) or a [scheme parameter object](scale.html#scheme-params). Discrete color schemes may be used with [discrete](scale.html#discrete) or [discretizing](scale.html#discretizing) scales. Continuous color schemes are intended for use with [sequential](scales.html#sequential) scales. For the full list of supported scheme, please refer to the [Vega Scheme](https://vega.github.io/vega/docs/schemes/#reference) reference.
{"anyOf": [{"type": "string"}, {}]}
vega-lite.json
type
The type of scale. Vega-Lite supports the following categories of scale types: 1) [**Continuous Scales**](scale.html#continuous) -- mapping continuous domains to continuous output ranges ([`"linear"`](scale.html#linear), [`"pow"`](scale.html#pow), [`"sqrt"`](scale.html#sqrt), [`"log"`](scale.html#log), [`"time"`](scale.html#time), [`"utc"`](scale.html#utc), [`"sequential"`](scale.html#sequential)). 2) [**Discrete Scales**](scale.html#discrete) -- mapping discrete domains to discrete ([`"ordinal"`](scale.html#ordinal)) or continuous ([`"band"`](scale.html#band) and [`"point"`](scale.html#point)) output ranges. 3) [**Discretizing Scales**](scale.html#discretizing) -- mapping continuous domains to discrete output ranges ([`"bin-linear"`](scale.html#bin-linear) and [`"bin-ordinal"`](scale.html#bin-ordinal)). __Default value:__ please see the [scale type table](scale.html#type).
{}
vega-lite.json
zero
If `true`, ensures that a zero baseline value is included in the scale domain. __Default value:__ `true` for x and y channels if the quantitative field is not binned and no custom `domain` is provided; `false` otherwise. __Note:__ Log, time, and utc scales do not support `zero`.
{"type": "boolean"}
vega-lite.json
bandPaddingInner
Default inner padding for `x` and `y` band-ordinal scales. __Default value:__ `0.1`
{"maximum": 1, "minimum": 0, "type": "number"}
vega-lite.json
bandPaddingOuter
Default outer padding for `x` and `y` band-ordinal scales. If not specified, by default, band scale's paddingOuter is paddingInner/2.
{"maximum": 1, "minimum": 0, "type": "number"}
vega-lite.json
clamp
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
{"type": "boolean"}
vega-lite.json
continuousPadding
Default padding for continuous scales. __Default:__ `5` for continuous x-scale of a vertical bar and continuous y-scale of a horizontal bar.; `0` otherwise.
{"minimum": 0, "type": "number"}
vega-lite.json
maxBandSize
The default max value for mapping quantitative fields to bar's size/bandSize. If undefined (default), we will use the scale's `rangeStep` - 1.
{"minimum": 0, "type": "number"}
vega-lite.json
maxFontSize
The default max value for mapping quantitative fields to text's size/fontSize. __Default value:__ `40`
{"minimum": 0, "type": "number"}
vega-lite.json
maxOpacity
Default max opacity for mapping a field to opacity. __Default value:__ `0.8`
{"maximum": 1, "minimum": 0, "type": "number"}
vega-lite.json
maxSize
Default max value for point size scale.
{"minimum": 0, "type": "number"}
vega-lite.json
maxStrokeWidth
Default max strokeWidth for strokeWidth (or rule/line's size) scale. __Default value:__ `4`
{"minimum": 0, "type": "number"}
vega-lite.json
minBandSize
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false. __Default value:__ `2`
{"minimum": 0, "type": "number"}
vega-lite.json
minFontSize
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false __Default value:__ `8`
{"minimum": 0, "type": "number"}
vega-lite.json
minOpacity
Default minimum opacity for mapping a field to opacity. __Default value:__ `0.3`
{"maximum": 1, "minimum": 0, "type": "number"}
vega-lite.json
minSize
Default minimum value for point size scale with zero=false. __Default value:__ `9`
{"minimum": 0, "type": "number"}
vega-lite.json
minStrokeWidth
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false. __Default value:__ `1`
{"minimum": 0, "type": "number"}
vega-lite.json
pointPadding
Default outer padding for `x` and `y` point-ordinal scales. __Default value:__ `0.5`
{"maximum": 1, "minimum": 0, "type": "number"}
vega-lite.json
rangeStep
Default range step for band and point scales of (1) the `y` channel and (2) the `x` channel when the mark is not `text`. __Default value:__ `21`
{"minimum": 0, "type": ["number", "null"]}
vega-lite.json
round
If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid. (Only available for `x`, `y`, and `size` scales.)
{"type": "boolean"}
vega-lite.json
textXRangeStep
Default range step for `x` band and point scales of text marks. __Default value:__ `90`
{"minimum": 0, "type": "number"}
vega-lite.json
useUnaggregatedDomain
Use the source data range before aggregation as scale domain instead of aggregated data for aggregate axis. This is equivalent to setting `domain` to `"unaggregate"` for aggregated _quantitative_ fields by default. This property only works with aggregate functions that produce values within the raw data domain (`"mean"`, `"average"`, `"median"`, `"q1"`, `"q3"`, `"min"`, `"max"`). For other aggregations that produce values outside of the raw data domain (e.g. `"count"`, `"sum"`), this property is ignored. __Default value:__ `false`
{"type": "boolean"}
vega-lite.json
aggregate
Aggregation function for the field (e.g., `mean`, `sum`, `median`, `min`, `max`, `count`). __Default value:__ `undefined` (None)
{}
vega-lite.json
bin
A flag for binning a `quantitative` field, or [an object defining binning parameters](bin.html#params). If `true`, default [binning parameters](bin.html) will be applied. __Default value:__ `false`
{"anyOf": [{"type": "boolean"}, {}]}
vega-lite.json
field
__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`](repeat.html) operator. __Note:__ `field` is not required if `aggregate` is `count`.
{"anyOf": [{"type": "string"}, {}]}
vega-lite.json
scale
An object defining properties of the channel's scale, which is the function that transforms values in the data domain (numbers, dates, strings, etc) to visual values (pixels, colors, sizes) of the encoding channels. __Default value:__ If undefined, default [scale properties](scale.html) are applied.
{}
vega-lite.json
sort
Sort order for the encoded field. Supported `sort` values include `"ascending"`, `"descending"` and `null` (no sorting). For fields with discrete domains, `sort` can also be a [sort field definition object](sort.html#sort-field). __Default value:__ `"ascending"`
{"anyOf": [{}, {}, {"type": "null"}]}
vega-lite.json
timeUnit
Time unit (e.g., `year`, `yearmonth`, `month`, `hours`) for a temporal field. or [a temporal field that gets casted as ordinal](type.html#cast). __Default value:__ `undefined` (None)
{}
vega-lite.json
type
The encoded field's type of measurement (`"quantitative"`, `"temporal"`, `"ordinal"`, or `"nominal"`).
{}
vega-lite.json
extent
For sequential and diverging schemes only, determines the extent of the color range to use. For example `[0.2, 1]` will rescale the color scheme such that color values in the range _[0, 0.2)_ are excluded from the scheme.
{"items": {"type": "number"}, "type": "array"}
vega-lite.json
name
A color scheme name for sequential/ordinal scales (e.g., `"category10"` or `"viridis"`). For the full list of supported scheme, please refer to the [Vega Scheme](https://vega.github.io/vega/docs/schemes/#reference) reference.
{"type": "string"}
vega-lite.json
interval
The default definition for an [`interval`](selection.html#type) 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.
{}
vega-lite.json
multi
The default definition for a [`multi`](selection.html#type) selection. All properties and transformations for a multi selection definition (except `type`) may be specified here. For instance, setting `multi` to `{"toggle": "event.altKey"}` adds additional values to multi selections when clicking with the alt-key pressed by default.
{}
vega-lite.json
single
The default definition for a [`single`](selection.html#type) selection. All properties and transformations for a single selection definition (except `type`) may be specified here. For instance, setting `single` to `{"on": "dblclick"}` populates single selections on double-click by default.
{}
vega-lite.json
field
The field name to extract selected values for, when a selection is [projected](project.html) over multiple fields or encodings.
{"type": "string"}
vega-lite.json
selection
The name of a selection.
{"type": "string"}
vega-lite.json
encoding
The encoding channel to extract selected values for, when a selection is [projected](project.html) over multiple fields or encodings.
{"type": "string"}
vega-lite.json
selection
The name of a selection.
{"type": "string"}
vega-lite.json
selection
Filter using a selection name.
{}
vega-lite.json
bind
Establish a two-way binding between a single selection and input elements (also known as dynamic query widgets). A binding takes the form of Vega's [input element binding definition](https://vega.github.io/vega/docs/signals/#bind) or can be a mapping between projected field/encodings and binding definitions. See the [bind transform](bind.html) documentation for more information.
{"anyOf": [{}, {"additionalProperties": {}, "type": "object"}]}
vega-lite.json
empty
By default, all data values are considered to lie within an empty selection. When set to `none`, empty selections contain no data values.
{"enum": ["all", "none"], "type": "string"}
vega-lite.json
encodings
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
{"items": {}, "type": "array"}
vega-lite.json
fields
An array of field names whose values must match for a data tuple to fall within the selection.
{"items": {"type": "string"}, "type": "array"}
vega-lite.json
nearest
When true, an invisible voronoi diagram is computed to accelerate discrete selection. The data value _nearest_ the mouse cursor is added to the selection. See the [nearest transform](nearest.html) documentation for more information.
{"type": "boolean"}
vega-lite.json
on
A [Vega event stream](https://vega.github.io/vega/docs/event-streams/) (object or selector) that triggers the selection. For interval selections, the event stream must specify a [start and end](https://vega.github.io/vega/docs/event-streams/#between-filters).
{}
vega-lite.json
resolve
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.
{}
vega-lite.json
bind
Establish a two-way binding between a single selection and input elements (also known as dynamic query widgets). A binding takes the form of Vega's [input element binding definition](https://vega.github.io/vega/docs/signals/#bind) or can be a mapping between projected field/encodings and binding definitions. See the [bind transform](bind.html) documentation for more information.
{"anyOf": [{}, {"additionalProperties": {}, "type": "object"}]}
vega-lite.json
empty
By default, all data values are considered to lie within an empty selection. When set to `none`, empty selections contain no data values.
{"enum": ["all", "none"], "type": "string"}
vega-lite.json
encodings
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
{"items": {}, "type": "array"}
vega-lite.json
fields
An array of field names whose values must match for a data tuple to fall within the selection.
{"items": {"type": "string"}, "type": "array"}
vega-lite.json
nearest
When true, an invisible voronoi diagram is computed to accelerate discrete selection. The data value _nearest_ the mouse cursor is added to the selection. See the [nearest transform](nearest.html) documentation for more information.
{"type": "boolean"}
vega-lite.json
on
A [Vega event stream](https://vega.github.io/vega/docs/event-streams/) (object or selector) that triggers the selection. For interval selections, the event stream must specify a [start and end](https://vega.github.io/vega/docs/event-streams/#between-filters).
{}
vega-lite.json
resolve
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.
{}
vega-lite.json
field
The data [field](field.html) to sort by. __Default value:__ If unspecified, defaults to the field specified in the outer data reference.
{"anyOf": [{"type": "string"}, {}]}
vega-lite.json
op
An [aggregate operation](aggregate.html#ops) to perform on the field prior to sorting (e.g., `"count"`, `"mean"` and `"median"`). This property is required in cases where the sort field and the data reference field do not match. 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](aggregate.html#ops).
{}
vega-lite.json
order
The sort order. One of `"ascending"` (default) or `"descending"`.
{}
vega-lite.json
align
The horizontal alignment of the text. One of `"left"`, `"right"`, `"center"`.
{}
vega-lite.json
angle
The rotation angle of the text, in degrees.
{"maximum": 360, "minimum": 0, "type": "number"}
vega-lite.json
baseline
The vertical alignment of the text. One of `"top"`, `"middle"`, `"bottom"`. __Default value:__ `"middle"`
{}
vega-lite.json
color
Default color. Note that `fill` and `stroke` have higher precedence than `color` and will override `color`. __Default value:__ <span style="color: #4682b4;">&#9632;</span> `"#4682b4"` __Note:__ This property cannot be used in a [style config](mark.html#style-config).
{"type": "string"}
vega-lite.json
dx
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the _angle_ property.
{"type": "number"}
vega-lite.json
dy
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the _angle_ property.
{"type": "number"}
vega-lite.json
fill
Default Fill Color. This has higher precedence than config.color __Default value:__ (None)
{"type": "string"}