vega-lite.json
Vega-Lite visualization specification file
| Type | TopLevelExtendedSpec |
|---|---|
| File match |
*.vl
*.vl.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/vega-lite-json/latest.json |
| Source | https://www.schemastore.org/vega-lite.json |
Validate with Lintel
npx @lintel/lintel check
Definitions
Array of objects that define fields to aggregate.
The data fields to group by. If not specified, a single group containing all data objects will be used.
The output field names to use for each aggregated field.
The data field for which to compute aggregate function.
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"
A boolean flag indicating if autosize layout should be re-calculated on every view update.
Default value: false
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
See the format documentation for more information.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The offset, in pixels, by which to displace the axis from the edge of the enclosing group or data rectangle.
Default value: derived from the axis config's offset (0 by default)
The anchor position of the axis in pixels. For x-axis with top or bottom orientation, this sets the axis group x coordinate. For y-axis with left or right orientation, this sets the axis group y coordinate.
Default value: 0
A desired number of ticks, for axes visualizing quantitative scales. The resulting number may be different so that values are "nice" (multiples of 2, 5, 10) and lie within the underlying scale's range.
The size in pixels of axis ticks.
Boolean value that determines whether the axis should include ticks.
A title for the field. If null, the title will be removed.
Default value: derived from the field's name and transformation function (aggregate, bin and timeUnit). If the field has an aggregate function, the function is displayed as a part of the title (e.g., "Sum of Profit"). If the field is binned or has a time unit applied, the applied function will be denoted in parentheses (e.g., "Profit (binned)", "Transaction Date (year-month)"). Otherwise, the title is simply the field name.
Note: You can customize the default field title format by providing the [fieldTitle property in the config or fieldTitle function via the compile function's options.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
Explicitly set the visible axis tick values.
A non-positive integer indicating z-index of the axis.
If zindex is 0, axes should be drawn behind all chart elements.
To put them in front, use "zindex = 1".
Default value: 1 (in front of the marks) for actual axis and 0 (behind the marks) for grids.
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
39 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
The number base to use for automatic bin determination (default is base 10).
Default value: 10
Scale factors indicating allowable subdivisions. The default value is [5, 2], which indicates that for base 10 numbers (the default base), the method may consider dividing bin sizes by 5 and/or 2. For example, for an initial step size of 10, the method can check if bin sizes of 2 (= 10/5), 5 (= 10/2), or 1 (= 10/(5*2)) might also satisfy the given constraints.
Default value: [5, 2]
Maximum number of bins.
Default value: 6 for row, column and shape channels; 10 for other channels
A minimum allowable step size (particularly useful for integer values).
If true (the default), attempts to make the bin boundaries use human-friendly boundaries, such as multiples of ten.
An exact step size to use between bins.
Note: If provided, options such as maxbins will be ignored.
An array of allowable step sizes to choose from.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
Description of this mark for commenting purpose.
Name of the visualization for later reference.
Title for the plot.
An array of data transformations such as filter and new field calculation.
Binning properties or boolean flag for determining whether to bin data or not.
The number base to use for automatic bin determination (default is base 10).
Default value: 10
Scale factors indicating allowable subdivisions. The default value is [5, 2], which indicates that for base 10 numbers (the default base), the method may consider dividing bin sizes by 5 and/or 2. For example, for an initial step size of 10, the method can check if bin sizes of 2 (= 10/5), 5 (= 10/2), or 1 (= 10/(5*2)) might also satisfy the given constraints.
Default value: [5, 2]
A two-element ([min, max]) array indicating the range of desired bin values.
Maximum number of bins.
Default value: 6 for row, column and shape channels; 10 for other channels
A minimum allowable step size (particularly useful for integer values).
If true (the default), attempts to make the bin boundaries use human-friendly boundaries, such as multiples of ten.
An exact step size to use between bins.
Note: If provided, options such as maxbins will be ignored.
An array of allowable step sizes to choose from.
The output fields at which to write the start and end bin values.
An object indicating bin properties, or simply true for using default bin parameters.
The data field to bin.
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Size of the box and mid tick of a box plot
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Size of the box and mid tick of a box plot
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
The fill color of the interval mark.
Default value: #333333
The fill opacity of the interval mark (a value between 0 and 1).
Default value: 0.125
The stroke color of the interval mark.
Default value: #ffffff
An array of alternating stroke and space lengths, for creating dashed or dotted lines.
The offset (in pixels) with which to begin drawing the stroke dash array.
The stroke opacity of the interval mark (a value between 0 and 1).
The stroke width of the interval mark.
The field for storing the computed formula value.
A string containing a Vega Expression. Use the variable datum to refer to the current data object.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Size of the box and mid tick of a box plot
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
12 nested properties
Color of the marks – either fill or stroke color based on mark type.
By default, color represents fill color for "area", "bar", "tick",
"text", "circle", and "square" / stroke color for "line" and "point".
Default value: If undefined, the default color depends on mark config's color property.
Note: See the scale documentation for more information about customizing color scheme.
Additional levels of detail for grouping data in aggregate views and in line and area marks without mapping data to a specific visual channel.
Opacity of the marks – either can be a value or a range.
Default value: If undefined, the default opacity depends on mark config's opacity property.
Stack order for stacked marks or order of data points in line marks for connected scatter plots.
Note: In aggregate plots, order field should be aggregated to avoid creating additional aggregation grouping.
The symbol's shape (only for point marks). The supported values are
"circle" (default), "square", "cross", "diamond", "triangle-up",
or "triangle-down", or else a custom SVG path string.
Default value: If undefined, the default shape depends on mark config's shape 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 currently unsupported for
"line","area", and"rect".
Text of the text mark.
The tooltip text to show upon mouse hover.
X coordinates of the marks, or width of horizontal "bar" and "area".
Y coordinates of the marks, or height of vertical "bar" and "area".
Description of this mark for commenting purpose.
The height of a visualization.
Default value:
- If a view's
autosizetype is"fit"or its y-channel has a continuous scale, the height will be the value ofconfig.view.height. - For y-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the height is determined by the range step, paddings, and the cardinality of the field mapped to y-channel. Otherwise, if therangeStepisnull, the height will be the value ofconfig.view.height. - If no field is mapped to
ychannel, theheightwill be the value ofrangeStep.
Note: For plots with row and column channels, this represents the height of a single view.
See also: The documentation for width and height contains more examples.
Name of the visualization for later reference.
A key-value mapping between selection names and definitions.
Title for the plot.
An array of data transformations such as filter and new field calculation.
The width of a visualization.
Default value: This will be determined by the following rules:
- If a view's
autosizetype is"fit"or its x-channel has a continuous scale, the width will be the value ofconfig.view.width. - For x-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the width is determined by the range step, paddings, and the cardinality of the field mapped to x-channel. Otherwise, if therangeStepisnull, the width will be the value ofconfig.view.width. - If no field is mapped to
xchannel, thewidthwill be the value ofconfig.scale.textXRangeStepfortextmark and the value ofrangeStepfor other marks.
Note: For plots with row and column channels, this represents the width of a single view.
See also: The documentation for width and height contains more examples.
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
An object defining properties of the legend.
If null, the legend for the encoding channel will be removed.
Default value: If undefined, default legend properties are applied.
15 nested properties
The logarithm base of the log scale (default 10).
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's clamp (true by default).
Customized domain values.
For quantitative fields, domain can take the form of a two-element array with minimum and maximum values. Piecewise scales 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.
For ordinal and nominal fields, domain can be an array that lists valid input values.
The selection property can be used to interactively determine the scale domain.
The exponent of the pow scale.
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.
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.
For 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 scales, shortcut for setting paddingInner and paddingOuter to the same value.
For point scales, alias for paddingOuter.
Default value: For continuous scales, derived from the scale config's continuousPadding.
For band and point scales, see paddingInner and paddingOuter.
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's bandPaddingInner.
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's bandPaddingOuter for band scales and pointPadding for point scales.
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.
Notes:
-
For sequential, ordinal, and discretizing color scales, you can also specify a color
schemeinstead ofrange. -
Any directly specified
rangeforxandychannels will be ignored. Range can be customized via the view's corresponding size (widthandheight) or via range steps and paddings properties for band and point scales.
The distance between the starts of adjacent bands or points in band and point scales.
If rangeStep is null or if the view contains the scale's corresponding size (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'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.
If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid.
Default value: false.
A string indicating a color scheme name (e.g., "category10" or "viridis") or a scheme parameter object.
Discrete color schemes may be used with discrete or discretizing scales. Continuous color schemes are intended for use with sequential scales.
For the full list of supported scheme, please refer to the Vega Scheme reference.
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.
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.
Default value: "ascending"
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
The formatting pattern for a text field. If not defined, this will be determined automatically.
A constant value in visual domain (e.g., "red" / "#0099ff" for color, values between 0 to 1 for opacity).
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
39 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
CSS color property to use as the background of visualization.
Default value: none (transparent)
31 nested properties
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Default axis and legend title for count fields.
Default value: 'Number of Records'.
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").
Defines how Vega-Lite should handle invalid values (null and NaN).
- If set to
"filter"(default), all data items with null values are filtered. - If
null, all data items are included. In this case, invalid values will be interpreted as zeroes.
36 nested properties
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Whether month names and weekday names should be abbreviated.
Default value: false
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
D3 Number format for axis labels and text tables. For example "s" for SI units. Use D3's number format pattern.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
6 nested properties
Default range for nominal (categorical) fields.
Default range for diverging quantitative fields.
Default range for quantitative heatmaps.
Default range for ordinal fields.
Default range for quantitative and temporal fields.
Default range palette for the shape channel.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
19 nested properties
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
3 nested properties
9 nested properties
Establishes a two-way binding between the interval selection and the scales used within the same view. This allows a user to interactively pan and zoom the view.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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.
Default value: true, which corresponds to
[mousedown, window:mouseup] > window:mousemove! which corresponds to
clicks and dragging within an interval selection to reposition it.
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.
Default value: true, which corresponds to wheel!.
7 nested properties
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
Controls whether data values should be toggled or only ever inserted into
multi selections. Can be true, false (for insertion only), or a
Vega expression.
Default value: true, which corresponds to event.shiftKey (i.e.,
data values are toggled when a user interacts with the shift-key pressed).
See the toggle transform documentation for more information.
7 nested properties
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 or can be a mapping between projected field/encodings and binding definitions.
See the bind transform documentation for more information.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
29 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
30 nested properties
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
Default datetime format for axis and legend labels. The format can be set directly on each axis and legend. Use D3's time format pattern.
Default value: '%b %d, %Y'.
10 nested properties
Angle in degrees of title text.
Text color for title text.
Font name for title text.
Font size in pixels for title text.
Default value: 10.
Font weight for title text.
The maximum allowed length in pixels of legend labels.
Offset in pixels of the title from the chart body and axes.
10 nested properties
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
If set to auto (the default), perform automatic type inference to determine the desired data types.
Alternatively, a parsing directive object can be provided for explicit data types. Each property of the object corresponds to a field name, and the value to the desired data type (one of "number", "boolean" or "date").
For example, "parse": {"modified_on": "date"} parses the modified_on field in each input record a Date value.
For "date", we parse data based using Javascript's Date.parse().
For Specific date formats can be provided (e.g., {foo: 'date:"%m%d%Y"'}), using the d3-time-format syntax. UTC date format parsing is supported similarly (e.g., {foo: 'utc:"%m%d%Y"'}). See more about UTC time
Type of input data: "json", "csv", "tsv".
The default format type is determined by the extension of the file URL.
If no extension is detected, "json" will be used by default.
If set to auto (the default), perform automatic type inference to determine the desired data types.
Alternatively, a parsing directive object can be provided for explicit data types. Each property of the object corresponds to a field name, and the value to the desired data type (one of "number", "boolean" or "date").
For example, "parse": {"modified_on": "date"} parses the modified_on field in each input record a Date value.
For "date", we parse data based using Javascript's Date.parse().
For Specific date formats can be provided (e.g., {foo: 'date:"%m%d%Y"'}), using the d3-time-format syntax. UTC date format parsing is supported similarly (e.g., {foo: 'utc:"%m%d%Y"'}). See more about UTC time
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.
Integer value representing the date from 1-31.
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.
Integer value representing the hour of a day from 0-23.
Integer value representing the millisecond segment of time.
Integer value representing the minute segment of time from 0-59.
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").
Integer value representing the quarter of the year (from 1-4).
Integer value representing the second segment (0-59) of a time value
A boolean flag indicating if date time is in utc time. If false, the date time is in local time
Integer value representing the year.
Color of the marks – either fill or stroke color based on mark type.
By default, color represents fill color for "area", "bar", "tick",
"text", "circle", and "square" / stroke color for "line" and "point".
Default value: If undefined, the default color depends on mark config's color property.
Note: See the scale documentation for more information about customizing color scheme.
Additional levels of detail for grouping data in aggregate views and in line and area marks without mapping data to a specific visual channel.
Opacity of the marks – either can be a value or a range.
Default value: If undefined, the default opacity depends on mark config's opacity property.
Stack order for stacked marks or order of data points in line marks for connected scatter plots.
Note: In aggregate plots, order field should be aggregated to avoid creating additional aggregation grouping.
The symbol's shape (only for point marks). The supported values are
"circle" (default), "square", "cross", "diamond", "triangle-up",
or "triangle-down", or else a custom SVG path string.
Default value: If undefined, the default shape depends on mark config's shape 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 currently unsupported for
"line","area", and"rect".
Text of the text mark.
The tooltip text to show upon mouse hover.
X coordinates of the marks, or width of horizontal "bar" and "area".
Y coordinates of the marks, or height of vertical "bar" and "area".
Color of the marks – either fill or stroke color based on mark type.
By default, color represents fill color for "area", "bar", "tick",
"text", "circle", and "square" / stroke color for "line" and "point".
Default value: If undefined, the default color depends on mark config's color property.
Note: See the scale documentation for more information about customizing color scheme.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
2 nested properties
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
A title for the axis. Shows field name and its function by default.
Default value: derived from the field's name and transformation function applied e.g, "field_name", "SUM(field_name)", "BIN(field_name)", "YEAR(field_name)".
Additional levels of detail for grouping data in aggregate views and in line and area marks without mapping data to a specific visual channel.
Opacity of the marks – either can be a value or a range.
Default value: If undefined, the default opacity depends on mark config's opacity property.
Stack order for stacked marks or order of data points in line marks for connected scatter plots.
Note: In aggregate plots, order field should be aggregated to avoid creating additional aggregation grouping.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
2 nested properties
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
A title for the axis. Shows field name and its function by default.
Default value: derived from the field's name and transformation function applied e.g, "field_name", "SUM(field_name)", "BIN(field_name)", "YEAR(field_name)".
The symbol's shape (only for point marks). The supported values are
"circle" (default), "square", "cross", "diamond", "triangle-up",
or "triangle-down", or else a custom SVG path string.
Default value: If undefined, the default shape depends on mark config's shape 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 currently unsupported for
"line","area", and"rect".
Text of the text mark.
The tooltip text to show upon mouse hover.
X coordinates of the marks, or width of horizontal "bar" and "area".
Y coordinates of the marks, or height of vertical "bar" and "area".
The value that the field should be equal to.
Field to be filtered.
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
2 nested properties
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
A title for the axis. Shows field name and its function by default.
Default value: derived from the field's name and transformation function applied e.g, "field_name", "SUM(field_name)", "BIN(field_name)", "YEAR(field_name)".
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
2 nested properties
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
A title for the axis. Shows field name and its function by default.
Default value: derived from the field's name and transformation function applied e.g, "field_name", "SUM(field_name)", "BIN(field_name)", "YEAR(field_name)".
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
2 nested properties
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
A title for the axis. Shows field name and its function by default.
Default value: derived from the field's name and transformation function applied e.g, "field_name", "SUM(field_name)", "BIN(field_name)", "YEAR(field_name)".
14 nested properties
Color of the marks – either fill or stroke color based on mark type.
By default, color represents fill color for "area", "bar", "tick",
"text", "circle", and "square" / stroke color for "line" and "point".
Default value: If undefined, the default color depends on mark config's color property.
Note: See the scale documentation for more information about customizing color scheme.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
Additional levels of detail for grouping data in aggregate views and in line and area marks without mapping data to a specific visual channel.
Opacity of the marks – either can be a value or a range.
Default value: If undefined, the default opacity depends on mark config's opacity property.
Stack order for stacked marks or order of data points in line marks for connected scatter plots.
Note: In aggregate plots, order field should be aggregated to avoid creating additional aggregation grouping.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
The symbol's shape (only for point marks). The supported values are
"circle" (default), "square", "cross", "diamond", "triangle-up",
or "triangle-down", or else a custom SVG path string.
Default value: If undefined, the default shape depends on mark config's shape 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 currently unsupported for
"line","area", and"rect".
Text of the text mark.
The tooltip text to show upon mouse hover.
X coordinates of the marks, or width of horizontal "bar" and "area".
Y coordinates of the marks, or height of vertical "bar" and "area".
Description of this mark for commenting purpose.
The height of a visualization.
Default value:
- If a view's
autosizetype is"fit"or its y-channel has a continuous scale, the height will be the value ofconfig.view.height. - For y-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the height is determined by the range step, paddings, and the cardinality of the field mapped to y-channel. Otherwise, if therangeStepisnull, the height will be the value ofconfig.view.height. - If no field is mapped to
ychannel, theheightwill be the value ofrangeStep.
Note: For plots with row and column channels, this represents the height of a single view.
See also: The documentation for width and height contains more examples.
Name of the visualization for later reference.
A key-value mapping between selection names and definitions.
Title for the plot.
An array of data transformations such as filter and new field calculation.
The width of a visualization.
Default value: This will be determined by the following rules:
- If a view's
autosizetype is"fit"or its x-channel has a continuous scale, the width will be the value ofconfig.view.width. - For x-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the width is determined by the range step, paddings, and the cardinality of the field mapped to x-channel. Otherwise, if therangeStepisnull, the width will be the value ofconfig.view.width. - If no field is mapped to
xchannel, thewidthwill be the value ofconfig.scale.textXRangeStepfortextmark and the value ofrangeStepfor other marks.
Note: For plots with row and column channels, this represents the width of a single view.
See also: The documentation for width and height contains more examples.
Definition object for a data field, its type and transformation of an encoding channel.
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
A FieldDef with Condition
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
One or more value definition(s) with a selection predicate.
Note: A field definition's condition property can only contain value definitions
since Vega-Lite only allows at mostly one encoded field per encoding channel.
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.
Note: field is not required if aggregate is count.
An object defining properties of the legend.
If null, the legend for the encoding channel will be removed.
Default value: If undefined, default legend properties are applied.
15 nested properties
The logarithm base of the log scale (default 10).
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's clamp (true by default).
Customized domain values.
For quantitative fields, domain can take the form of a two-element array with minimum and maximum values. Piecewise scales 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.
For ordinal and nominal fields, domain can be an array that lists valid input values.
The selection property can be used to interactively determine the scale domain.
The exponent of the pow scale.
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.
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.
For 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 scales, shortcut for setting paddingInner and paddingOuter to the same value.
For point scales, alias for paddingOuter.
Default value: For continuous scales, derived from the scale config's continuousPadding.
For band and point scales, see paddingInner and paddingOuter.
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's bandPaddingInner.
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's bandPaddingOuter for band scales and pointPadding for point scales.
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.
Notes:
-
For sequential, ordinal, and discretizing color scales, you can also specify a color
schemeinstead ofrange. -
Any directly specified
rangeforxandychannels will be ignored. Range can be customized via the view's corresponding size (widthandheight) or via range steps and paddings properties for band and point scales.
The distance between the starts of adjacent bands or points in band and point scales.
If rangeStep is null or if the view contains the scale's corresponding size (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'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.
If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid.
Default value: false.
A string indicating a color scheme name (e.g., "category10" or "viridis") or a scheme parameter object.
Discrete color schemes may be used with discrete or discretizing scales. Continuous color schemes are intended for use with sequential scales.
For the full list of supported scheme, please refer to the Vega Scheme reference.
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.
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.
Default value: "ascending"
A FieldDef with Condition
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
One or more value definition(s) with a selection predicate.
Note: A field definition's condition property can only contain value definitions
since Vega-Lite only allows at mostly one encoded field per encoding channel.
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.
Note: field is not required if aggregate is count.
The formatting pattern for a text field. If not defined, this will be determined automatically.
2 nested properties
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
A specification of the view that gets faceted.
Description of this mark for commenting purpose.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
A list of views that should be concatenated and put into a row.
Description of this mark for commenting purpose.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
Layer or single view specifications to be layered.
Note: Specifications inside layer cannot use row and column channels as layering facet specifications is not allowed.
Description of this mark for commenting purpose.
The height of a visualization.
Default value:
- If a view's
autosizetype is"fit"or its y-channel has a continuous scale, the height will be the value ofconfig.view.height. - For y-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the height is determined by the range step, paddings, and the cardinality of the field mapped to y-channel. Otherwise, if therangeStepisnull, the height will be the value ofconfig.view.height. - If no field is mapped to
ychannel, theheightwill be the value ofrangeStep.
Note: For plots with row and column channels, this represents the height of a single view.
See also: The documentation for width and height contains more examples.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
The width of a visualization.
Default value: This will be determined by the following rules:
- If a view's
autosizetype is"fit"or its x-channel has a continuous scale, the width will be the value ofconfig.view.width. - For x-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the width is determined by the range step, paddings, and the cardinality of the field mapped to x-channel. Otherwise, if therangeStepisnull, the width will be the value ofconfig.view.width. - If no field is mapped to
xchannel, thewidthwill be the value ofconfig.scale.textXRangeStepfortextmark and the value ofrangeStepfor other marks.
Note: For plots with row and column channels, this represents the width of a single view.
See also: The documentation for width and height contains more examples.
2 nested properties
Horizontal repeated views.
Vertical repeated views.
Description of this mark for commenting purpose.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
12 nested properties
Color of the marks – either fill or stroke color based on mark type.
By default, color represents fill color for "area", "bar", "tick",
"text", "circle", and "square" / stroke color for "line" and "point".
Default value: If undefined, the default color depends on mark config's color property.
Note: See the scale documentation for more information about customizing color scheme.
Additional levels of detail for grouping data in aggregate views and in line and area marks without mapping data to a specific visual channel.
Opacity of the marks – either can be a value or a range.
Default value: If undefined, the default opacity depends on mark config's opacity property.
Stack order for stacked marks or order of data points in line marks for connected scatter plots.
Note: In aggregate plots, order field should be aggregated to avoid creating additional aggregation grouping.
The symbol's shape (only for point marks). The supported values are
"circle" (default), "square", "cross", "diamond", "triangle-up",
or "triangle-down", or else a custom SVG path string.
Default value: If undefined, the default shape depends on mark config's shape 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 currently unsupported for
"line","area", and"rect".
Text of the text mark.
The tooltip text to show upon mouse hover.
X coordinates of the marks, or width of horizontal "bar" and "area".
Y coordinates of the marks, or height of vertical "bar" and "area".
Description of this mark for commenting purpose.
The height of a visualization.
Default value:
- If a view's
autosizetype is"fit"or its y-channel has a continuous scale, the height will be the value ofconfig.view.height. - For y-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the height is determined by the range step, paddings, and the cardinality of the field mapped to y-channel. Otherwise, if therangeStepisnull, the height will be the value ofconfig.view.height. - If no field is mapped to
ychannel, theheightwill be the value ofrangeStep.
Note: For plots with row and column channels, this represents the height of a single view.
See also: The documentation for width and height contains more examples.
Name of the visualization for later reference.
A key-value mapping between selection names and definitions.
Title for the plot.
An array of data transformations such as filter and new field calculation.
The width of a visualization.
Default value: This will be determined by the following rules:
- If a view's
autosizetype is"fit"or its x-channel has a continuous scale, the width will be the value ofconfig.view.width. - For x-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the width is determined by the range step, paddings, and the cardinality of the field mapped to x-channel. Otherwise, if therangeStepisnull, the width will be the value ofconfig.view.width. - If no field is mapped to
xchannel, thewidthwill be the value ofconfig.scale.textXRangeStepfortextmark and the value ofrangeStepfor other marks.
Note: For plots with row and column channels, this represents the width of a single view.
See also: The documentation for width and height contains more examples.
14 nested properties
Color of the marks – either fill or stroke color based on mark type.
By default, color represents fill color for "area", "bar", "tick",
"text", "circle", and "square" / stroke color for "line" and "point".
Default value: If undefined, the default color depends on mark config's color property.
Note: See the scale documentation for more information about customizing color scheme.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
Additional levels of detail for grouping data in aggregate views and in line and area marks without mapping data to a specific visual channel.
Opacity of the marks – either can be a value or a range.
Default value: If undefined, the default opacity depends on mark config's opacity property.
Stack order for stacked marks or order of data points in line marks for connected scatter plots.
Note: In aggregate plots, order field should be aggregated to avoid creating additional aggregation grouping.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
The symbol's shape (only for point marks). The supported values are
"circle" (default), "square", "cross", "diamond", "triangle-up",
or "triangle-down", or else a custom SVG path string.
Default value: If undefined, the default shape depends on mark config's shape 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 currently unsupported for
"line","area", and"rect".
Text of the text mark.
The tooltip text to show upon mouse hover.
X coordinates of the marks, or width of horizontal "bar" and "area".
Y coordinates of the marks, or height of vertical "bar" and "area".
Description of this mark for commenting purpose.
The height of a visualization.
Default value:
- If a view's
autosizetype is"fit"or its y-channel has a continuous scale, the height will be the value ofconfig.view.height. - For y-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the height is determined by the range step, paddings, and the cardinality of the field mapped to y-channel. Otherwise, if therangeStepisnull, the height will be the value ofconfig.view.height. - If no field is mapped to
ychannel, theheightwill be the value ofrangeStep.
Note: For plots with row and column channels, this represents the height of a single view.
See also: The documentation for width and height contains more examples.
Name of the visualization for later reference.
A key-value mapping between selection names and definitions.
Title for the plot.
An array of data transformations such as filter and new field calculation.
The width of a visualization.
Default value: This will be determined by the following rules:
- If a view's
autosizetype is"fit"or its x-channel has a continuous scale, the width will be the value ofconfig.view.width. - For x-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the width is determined by the range step, paddings, and the cardinality of the field mapped to x-channel. Otherwise, if therangeStepisnull, the width will be the value ofconfig.view.width. - If no field is mapped to
xchannel, thewidthwill be the value ofconfig.scale.textXRangeStepfortextmark and the value ofrangeStepfor other marks.
Note: For plots with row and column channels, this represents the width of a single view.
See also: The documentation for width and height contains more examples.
A list of views that should be concatenated and put into a column.
Description of this mark for commenting purpose.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
See the format documentation for more information.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
A title for the field. If null, the title will be removed.
Default value: derived from the field's name and transformation function (aggregate, bin and timeUnit). If the field has an aggregate function, the function is displayed as a part of the title (e.g., "Sum of Profit"). If the field is binned or has a time unit applied, the applied function will be denoted in parentheses (e.g., "Profit (binned)", "Transaction Date (year-month)"). Otherwise, the title is simply the field name.
Note: You can customize the default field title format by providing the [fieldTitle property in the config or fieldTitle function via the compile function's options.
Headers of row / column channels for faceted plots.
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
A title for the axis. Shows field name and its function by default.
Default value: derived from the field's name and transformation function applied e.g, "field_name", "SUM(field_name)", "BIN(field_name)", "YEAR(field_name)".
The full data set, included inline. This can be an array of objects or primitive values or a string.
Arrays of primitive values are ingested as objects with a data property. Strings are parsed according to the specified format type.
Establishes a two-way binding between the interval selection and the scales used within the same view. This allows a user to interactively pan and zoom the view.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
7 nested properties
The fill color of the interval mark.
Default value: #333333
The fill opacity of the interval mark (a value between 0 and 1).
Default value: 0.125
The stroke color of the interval mark.
Default value: #ffffff
An array of alternating stroke and space lengths, for creating dashed or dotted lines.
The offset (in pixels) with which to begin drawing the stroke dash array.
The stroke opacity of the interval mark (a value between 0 and 1).
The stroke width of the interval mark.
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.
Default value: true, which corresponds to
[mousedown, window:mouseup] > window:mousemove! which corresponds to
clicks and dragging within an interval selection to reposition it.
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.
Default value: true, which corresponds to wheel!.
Establishes a two-way binding between the interval selection and the scales used within the same view. This allows a user to interactively pan and zoom the view.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
7 nested properties
The fill color of the interval mark.
Default value: #333333
The fill opacity of the interval mark (a value between 0 and 1).
Default value: 0.125
The stroke color of the interval mark.
Default value: #ffffff
An array of alternating stroke and space lengths, for creating dashed or dotted lines.
The offset (in pixels) with which to begin drawing the stroke dash array.
The stroke opacity of the interval mark (a value between 0 and 1).
The stroke width of the interval mark.
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.
Default value: true, which corresponds to
[mousedown, window:mouseup] > window:mousemove! which corresponds to
clicks and dragging within an interval selection to reposition it.
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.
Default value: true, which corresponds to wheel!.
If set to auto (the default), perform automatic type inference to determine the desired data types.
Alternatively, a parsing directive object can be provided for explicit data types. Each property of the object corresponds to a field name, and the value to the desired data type (one of "number", "boolean" or "date").
For example, "parse": {"modified_on": "date"} parses the modified_on field in each input record a Date value.
For "date", we parse data based using Javascript's Date.parse().
For Specific date formats can be provided (e.g., {foo: 'date:"%m%d%Y"'}), using the d3-time-format syntax. UTC date format parsing is supported similarly (e.g., {foo: 'utc:"%m%d%Y"'}). See more about UTC time
The JSON property containing the desired data.
This parameter can be used when the loaded JSON file may have surrounding structure or meta-data.
For example "property": "values.features" is equivalent to retrieving json.values.features
from the loaded JSON object.
Type of input data: "json", "csv", "tsv".
The default format type is determined by the extension of the file URL.
If no extension is detected, "json" will be used by default.
The height of a visualization.
Default value:
- If a view's
autosizetype is"fit"or its y-channel has a continuous scale, the height will be the value ofconfig.view.height. - For y-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the height is determined by the range step, paddings, and the cardinality of the field mapped to y-channel. Otherwise, if therangeStepisnull, the height will be the value ofconfig.view.height. - If no field is mapped to
ychannel, theheightwill be the value ofrangeStep.
Note: For plots with row and column channels, this represents the height of a single view.
See also: The documentation for width and height contains more examples.
The width of a visualization.
Default value: This will be determined by the following rules:
- If a view's
autosizetype is"fit"or its x-channel has a continuous scale, the width will be the value ofconfig.view.width. - For x-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the width is determined by the range step, paddings, and the cardinality of the field mapped to x-channel. Otherwise, if therangeStepisnull, the width will be the value ofconfig.view.width. - If no field is mapped to
xchannel, thewidthwill be the value ofconfig.scale.textXRangeStepfortextmark and the value ofrangeStepfor other marks.
Note: For plots with row and column channels, this represents the width of a single view.
See also: The documentation for width and height contains more examples.
Properties of a legend or boolean flag for determining whether to show it.
Padding (in pixels) between legend entries in a symbol legend.
The formatting pattern for labels. This is D3's number format pattern for quantitative fields and D3's time format pattern for time field.
See the format documentation for more information.
Default value: derived from numberFormat config for quantitative fields and from timeFormat config for temporal fields.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
The desired number of tick values for quantitative legends.
A title for the field. If null, the title will be removed.
Default value: derived from the field's name and transformation function (aggregate, bin and timeUnit). If the field has an aggregate function, the function is displayed as a part of the title (e.g., "Sum of Profit"). If the field is binned or has a time unit applied, the applied function will be denoted in parentheses (e.g., "Profit (binned)", "Transaction Date (year-month)"). Otherwise, the title is simply the field name.
Note: You can customize the default field title format by providing the [fieldTitle property in the config or fieldTitle function via the compile function's options.
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.
Explicitly set the visible legend values.
A non-positive integer indicating z-index of the legend. If zindex is 0, legend should be drawn behind all chart elements. To put them in front, use zindex = 1.
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Whether month names and weekday names should be abbreviated.
Default value: false
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
Key in data to lookup.
Fields in foreign data to lookup. If not specified, the entire object is queried.
3 nested properties
Key in data to lookup.
Fields in foreign data to lookup. If not specified, the entire object is queried.
Key in primary data source.
The field or fields for storing the computed formula value.
If from.fields is specified, the transform will use the same names for as.
If from.fields is not specified, as has to be a string and we put the whole object into the data under the specified name.
The default value to use if lookup fails.
Default value: null
All types of primitive marks.
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
31 nested properties
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
29 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
30 nested properties
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
All types of primitive marks.
The rotation angle of the text, in degrees.
Whether a mark be clipped to the enclosing group's width and height.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
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).
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Field definition of a mark property, which can contain a legend.
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
An object defining properties of the legend.
If null, the legend for the encoding channel will be removed.
Default value: If undefined, default legend properties are applied.
15 nested properties
The logarithm base of the log scale (default 10).
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's clamp (true by default).
Customized domain values.
For quantitative fields, domain can take the form of a two-element array with minimum and maximum values. Piecewise scales 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.
For ordinal and nominal fields, domain can be an array that lists valid input values.
The selection property can be used to interactively determine the scale domain.
The exponent of the pow scale.
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.
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.
For 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 scales, shortcut for setting paddingInner and paddingOuter to the same value.
For point scales, alias for paddingOuter.
Default value: For continuous scales, derived from the scale config's continuousPadding.
For band and point scales, see paddingInner and paddingOuter.
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's bandPaddingInner.
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's bandPaddingOuter for band scales and pointPadding for point scales.
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.
Notes:
-
For sequential, ordinal, and discretizing color scales, you can also specify a color
schemeinstead ofrange. -
Any directly specified
rangeforxandychannels will be ignored. Range can be customized via the view's corresponding size (widthandheight) or via range steps and paddings properties for band and point scales.
The distance between the starts of adjacent bands or points in band and point scales.
If rangeStep is null or if the view contains the scale's corresponding size (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'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.
If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid.
Default value: false.
A string indicating a color scheme name (e.g., "category10" or "viridis") or a scheme parameter object.
Discrete color schemes may be used with discrete or discretizing scales. Continuous color schemes are intended for use with sequential scales.
For the full list of supported scheme, please refer to the Vega Scheme reference.
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.
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.
Default value: "ascending"
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
Controls whether data values should be toggled or only ever inserted into
multi selections. Can be true, false (for insertion only), or a
Vega expression.
Default value: true, which corresponds to event.shiftKey (i.e.,
data values are toggled when a user interacts with the shift-key pressed).
See the toggle transform documentation for more information.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
Controls whether data values should be toggled or only ever inserted into
multi selections. Can be true, false (for insertion only), or a
Vega expression.
Default value: true, which corresponds to event.shiftKey (i.e.,
data values are toggled when a user interacts with the shift-key pressed).
See the toggle transform documentation for more information.
Provide a placeholder name and bind data at runtime.
Field to be filtered
A set of values that the field's value should be a member of,
for a data item included in the filtered data.
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Constants and utilities for data type
Data type based on level of measurement
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 are applied.
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
15 nested properties
The logarithm base of the log scale (default 10).
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's clamp (true by default).
Customized domain values.
For quantitative fields, domain can take the form of a two-element array with minimum and maximum values. Piecewise scales 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.
For ordinal and nominal fields, domain can be an array that lists valid input values.
The selection property can be used to interactively determine the scale domain.
The exponent of the pow scale.
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.
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.
For 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 scales, shortcut for setting paddingInner and paddingOuter to the same value.
For point scales, alias for paddingOuter.
Default value: For continuous scales, derived from the scale config's continuousPadding.
For band and point scales, see paddingInner and paddingOuter.
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's bandPaddingInner.
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's bandPaddingOuter for band scales and pointPadding for point scales.
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.
Notes:
-
For sequential, ordinal, and discretizing color scales, you can also specify a color
schemeinstead ofrange. -
Any directly specified
rangeforxandychannels will be ignored. Range can be customized via the view's corresponding size (widthandheight) or via range steps and paddings properties for band and point scales.
The distance between the starts of adjacent bands or points in band and point scales.
If rangeStep is null or if the view contains the scale's corresponding size (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'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.
If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid.
Default value: false.
A string indicating a color scheme name (e.g., "category10" or "viridis") or a scheme parameter object.
Discrete color schemes may be used with discrete or discretizing scales. Continuous color schemes are intended for use with sequential scales.
For the full list of supported scheme, please refer to the Vega Scheme reference.
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.
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.
Default value: "ascending"
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 and area chart)."normalize"- stacking with normalized domain (for creating normalized stacked bar and area charts.
-"center"- stacking with center baseline (for streamgraph).null- No-stacking. This will produce layered bar 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.
Default range for nominal (categorical) fields.
Default range for diverging quantitative fields.
Default range for quantitative heatmaps.
Default range for ordinal fields.
Default range for quantitative and temporal fields.
Default range palette for the shape channel.
Field to be filtered
An array of inclusive minimum and maximum values for a field value of a data item to be included in the filtered data.
Horizontal repeated views.
Vertical repeated views.
Reference to a repeated value.
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.
The logarithm base of the log scale (default 10).
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's clamp (true by default).
Customized domain values.
For quantitative fields, domain can take the form of a two-element array with minimum and maximum values. Piecewise scales 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.
For ordinal and nominal fields, domain can be an array that lists valid input values.
The selection property can be used to interactively determine the scale domain.
The exponent of the pow scale.
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.
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.
For 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 scales, shortcut for setting paddingInner and paddingOuter to the same value.
For point scales, alias for paddingOuter.
Default value: For continuous scales, derived from the scale config's continuousPadding.
For band and point scales, see paddingInner and paddingOuter.
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's bandPaddingInner.
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's bandPaddingOuter for band scales and pointPadding for point scales.
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.
Notes:
-
For sequential, ordinal, and discretizing color scales, you can also specify a color
schemeinstead ofrange. -
Any directly specified
rangeforxandychannels will be ignored. Range can be customized via the view's corresponding size (widthandheight) or via range steps and paddings properties for band and point scales.
The distance between the starts of adjacent bands or points in band and point scales.
If rangeStep is null or if the view contains the scale's corresponding size (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'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.
If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid.
Default value: false.
A string indicating a color scheme name (e.g., "category10" or "viridis") or a scheme parameter object.
Discrete color schemes may be used with discrete or discretizing scales. Continuous color schemes are intended for use with sequential scales.
For the full list of supported scheme, please refer to the Vega Scheme reference.
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.
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
15 nested properties
The logarithm base of the log scale (default 10).
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's clamp (true by default).
Customized domain values.
For quantitative fields, domain can take the form of a two-element array with minimum and maximum values. Piecewise scales 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.
For ordinal and nominal fields, domain can be an array that lists valid input values.
The selection property can be used to interactively determine the scale domain.
The exponent of the pow scale.
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.
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.
For 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 scales, shortcut for setting paddingInner and paddingOuter to the same value.
For point scales, alias for paddingOuter.
Default value: For continuous scales, derived from the scale config's continuousPadding.
For band and point scales, see paddingInner and paddingOuter.
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's bandPaddingInner.
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's bandPaddingOuter for band scales and pointPadding for point scales.
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.
Notes:
-
For sequential, ordinal, and discretizing color scales, you can also specify a color
schemeinstead ofrange. -
Any directly specified
rangeforxandychannels will be ignored. Range can be customized via the view's corresponding size (widthandheight) or via range steps and paddings properties for band and point scales.
The distance between the starts of adjacent bands or points in band and point scales.
If rangeStep is null or if the view contains the scale's corresponding size (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'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.
If true, rounds numeric output values to integers. This can be helpful for snapping to the pixel grid.
Default value: false.
A string indicating a color scheme name (e.g., "category10" or "viridis") or a scheme parameter object.
Discrete color schemes may be used with discrete or discretizing scales. Continuous color schemes are intended for use with sequential scales.
For the full list of supported scheme, please refer to the Vega Scheme reference.
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.
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.
Default value: "ascending"
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 reference.
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.
9 nested properties
Establishes a two-way binding between the interval selection and the scales used within the same view. This allows a user to interactively pan and zoom the view.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
7 nested properties
The fill color of the interval mark.
Default value: #333333
The fill opacity of the interval mark (a value between 0 and 1).
Default value: 0.125
The stroke color of the interval mark.
Default value: #ffffff
An array of alternating stroke and space lengths, for creating dashed or dotted lines.
The offset (in pixels) with which to begin drawing the stroke dash array.
The stroke opacity of the interval mark (a value between 0 and 1).
The stroke width of the interval mark.
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.
Default value: true, which corresponds to
[mousedown, window:mouseup] > window:mousemove! which corresponds to
clicks and dragging within an interval selection to reposition it.
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.
Default value: true, which corresponds to wheel!.
7 nested properties
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
Controls whether data values should be toggled or only ever inserted into
multi selections. Can be true, false (for insertion only), or a
Vega expression.
Default value: true, which corresponds to event.shiftKey (i.e.,
data values are toggled when a user interacts with the shift-key pressed).
See the toggle transform documentation for more information.
7 nested properties
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 or can be a mapping between projected field/encodings and binding definitions.
See the bind transform documentation for more information.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
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 or can be a mapping between projected field/encodings and binding definitions.
See the bind transform documentation for more information.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
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 or can be a mapping between projected field/encodings and binding definitions.
See the bind transform documentation for more information.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
The formatting pattern for a text field. If not defined, this will be determined automatically.
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
The output field to write the timeUnit value.
The data field to apply time unit.
The orthogonal offset in pixels by which to displace the title from its position along the edge of the chart.
A mark style property to apply to the title text mark.
Default value: "group-title".
The title text.
The orthogonal offset in pixels by which to displace the title from its position along the edge of the chart.
A mark style property to apply to the title text mark.
Default value: "group-title".
14 nested properties
Color of the marks – either fill or stroke color based on mark type.
By default, color represents fill color for "area", "bar", "tick",
"text", "circle", and "square" / stroke color for "line" and "point".
Default value: If undefined, the default color depends on mark config's color property.
Note: See the scale documentation for more information about customizing color scheme.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
Additional levels of detail for grouping data in aggregate views and in line and area marks without mapping data to a specific visual channel.
Opacity of the marks – either can be a value or a range.
Default value: If undefined, the default opacity depends on mark config's opacity property.
Stack order for stacked marks or order of data points in line marks for connected scatter plots.
Note: In aggregate plots, order field should be aggregated to avoid creating additional aggregation grouping.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
The symbol's shape (only for point marks). The supported values are
"circle" (default), "square", "cross", "diamond", "triangle-up",
or "triangle-down", or else a custom SVG path string.
Default value: If undefined, the default shape depends on mark config's shape 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 currently unsupported for
"line","area", and"rect".
Text of the text mark.
The tooltip text to show upon mouse hover.
X coordinates of the marks, or width of horizontal "bar" and "area".
Y coordinates of the marks, or height of vertical "bar" and "area".
URL to JSON schema for a Vega-Lite specification. Unless you have a reason to change this, use <https://vega.github.io/schema/vega-lite/v2.json>. Setting the $schema property allows automatic validation and autocomplete in editors that support JSON schema.
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
CSS color property to use as the background of visualization.
Default value: none (transparent)
35 nested properties
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
39 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
CSS color property to use as the background of visualization.
Default value: none (transparent)
31 nested properties
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Default axis and legend title for count fields.
Default value: 'Number of Records'.
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").
Defines how Vega-Lite should handle invalid values (null and NaN).
- If set to
"filter"(default), all data items with null values are filtered. - If
null, all data items are included. In this case, invalid values will be interpreted as zeroes.
36 nested properties
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Whether month names and weekday names should be abbreviated.
Default value: false
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
D3 Number format for axis labels and text tables. For example "s" for SI units. Use D3's number format pattern.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
6 nested properties
Default range for nominal (categorical) fields.
Default range for diverging quantitative fields.
Default range for quantitative heatmaps.
Default range for ordinal fields.
Default range for quantitative and temporal fields.
Default range palette for the shape channel.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
19 nested properties
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
29 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
30 nested properties
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
Default datetime format for axis and legend labels. The format can be set directly on each axis and legend. Use D3's time format pattern.
Default value: '%b %d, %Y'.
10 nested properties
Angle in degrees of title text.
Text color for title text.
Font name for title text.
Font size in pixels for title text.
Default value: 10.
Font weight for title text.
The maximum allowed length in pixels of legend labels.
Offset in pixels of the title from the chart body and axes.
10 nested properties
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
Description of this mark for commenting purpose.
The height of a visualization.
Default value:
- If a view's
autosizetype is"fit"or its y-channel has a continuous scale, the height will be the value ofconfig.view.height. - For y-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the height is determined by the range step, paddings, and the cardinality of the field mapped to y-channel. Otherwise, if therangeStepisnull, the height will be the value ofconfig.view.height. - If no field is mapped to
ychannel, theheightwill be the value ofrangeStep.
Note: For plots with row and column channels, this represents the height of a single view.
See also: The documentation for width and height contains more examples.
Name of the visualization for later reference.
A key-value mapping between selection names and definitions.
Title for the plot.
An array of data transformations such as filter and new field calculation.
The width of a visualization.
Default value: This will be determined by the following rules:
- If a view's
autosizetype is"fit"or its x-channel has a continuous scale, the width will be the value ofconfig.view.width. - For x-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the width is determined by the range step, paddings, and the cardinality of the field mapped to x-channel. Otherwise, if therangeStepisnull, the width will be the value ofconfig.view.width. - If no field is mapped to
xchannel, thewidthwill be the value ofconfig.scale.textXRangeStepfortextmark and the value ofrangeStepfor other marks.
Note: For plots with row and column channels, this represents the width of a single view.
See also: The documentation for width and height contains more examples.
2 nested properties
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
7 nested properties
Constants and utilities for data type
Data type based on level of measurement
A flag for binning a quantitative field, or an object defining binning parameters.
If true, default binning parameters will be applied.
Default value: false
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.
Note: field is not required if aggregate is count.
Headers of row / column channels for faceted plots.
A specification of the view that gets faceted.
URL to JSON schema for a Vega-Lite specification. Unless you have a reason to change this, use <https://vega.github.io/schema/vega-lite/v2.json>. Setting the $schema property allows automatic validation and autocomplete in editors that support JSON schema.
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
CSS color property to use as the background of visualization.
Default value: none (transparent)
35 nested properties
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
39 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
CSS color property to use as the background of visualization.
Default value: none (transparent)
31 nested properties
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Default axis and legend title for count fields.
Default value: 'Number of Records'.
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").
Defines how Vega-Lite should handle invalid values (null and NaN).
- If set to
"filter"(default), all data items with null values are filtered. - If
null, all data items are included. In this case, invalid values will be interpreted as zeroes.
36 nested properties
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Whether month names and weekday names should be abbreviated.
Default value: false
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
D3 Number format for axis labels and text tables. For example "s" for SI units. Use D3's number format pattern.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
6 nested properties
Default range for nominal (categorical) fields.
Default range for diverging quantitative fields.
Default range for quantitative heatmaps.
Default range for ordinal fields.
Default range for quantitative and temporal fields.
Default range palette for the shape channel.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
19 nested properties
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
29 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
30 nested properties
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
Default datetime format for axis and legend labels. The format can be set directly on each axis and legend. Use D3's time format pattern.
Default value: '%b %d, %Y'.
10 nested properties
Angle in degrees of title text.
Text color for title text.
Font name for title text.
Font size in pixels for title text.
Default value: 10.
Font weight for title text.
The maximum allowed length in pixels of legend labels.
Offset in pixels of the title from the chart body and axes.
10 nested properties
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
Description of this mark for commenting purpose.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
A list of views that should be concatenated and put into a row.
URL to JSON schema for a Vega-Lite specification. Unless you have a reason to change this, use <https://vega.github.io/schema/vega-lite/v2.json>. Setting the $schema property allows automatic validation and autocomplete in editors that support JSON schema.
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
CSS color property to use as the background of visualization.
Default value: none (transparent)
35 nested properties
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
39 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
CSS color property to use as the background of visualization.
Default value: none (transparent)
31 nested properties
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Default axis and legend title for count fields.
Default value: 'Number of Records'.
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").
Defines how Vega-Lite should handle invalid values (null and NaN).
- If set to
"filter"(default), all data items with null values are filtered. - If
null, all data items are included. In this case, invalid values will be interpreted as zeroes.
36 nested properties
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Whether month names and weekday names should be abbreviated.
Default value: false
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
D3 Number format for axis labels and text tables. For example "s" for SI units. Use D3's number format pattern.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
6 nested properties
Default range for nominal (categorical) fields.
Default range for diverging quantitative fields.
Default range for quantitative heatmaps.
Default range for ordinal fields.
Default range for quantitative and temporal fields.
Default range palette for the shape channel.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
19 nested properties
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
29 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
30 nested properties
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
Default datetime format for axis and legend labels. The format can be set directly on each axis and legend. Use D3's time format pattern.
Default value: '%b %d, %Y'.
10 nested properties
Angle in degrees of title text.
Text color for title text.
Font name for title text.
Font size in pixels for title text.
Default value: 10.
Font weight for title text.
The maximum allowed length in pixels of legend labels.
Offset in pixels of the title from the chart body and axes.
10 nested properties
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
Description of this mark for commenting purpose.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
Layer or single view specifications to be layered.
Note: Specifications inside layer cannot use row and column channels as layering facet specifications is not allowed.
URL to JSON schema for a Vega-Lite specification. Unless you have a reason to change this, use <https://vega.github.io/schema/vega-lite/v2.json>. Setting the $schema property allows automatic validation and autocomplete in editors that support JSON schema.
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
CSS color property to use as the background of visualization.
Default value: none (transparent)
35 nested properties
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
39 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
CSS color property to use as the background of visualization.
Default value: none (transparent)
31 nested properties
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Default axis and legend title for count fields.
Default value: 'Number of Records'.
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").
Defines how Vega-Lite should handle invalid values (null and NaN).
- If set to
"filter"(default), all data items with null values are filtered. - If
null, all data items are included. In this case, invalid values will be interpreted as zeroes.
36 nested properties
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Whether month names and weekday names should be abbreviated.
Default value: false
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
D3 Number format for axis labels and text tables. For example "s" for SI units. Use D3's number format pattern.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
6 nested properties
Default range for nominal (categorical) fields.
Default range for diverging quantitative fields.
Default range for quantitative heatmaps.
Default range for ordinal fields.
Default range for quantitative and temporal fields.
Default range palette for the shape channel.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
19 nested properties
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
29 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
30 nested properties
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
Default datetime format for axis and legend labels. The format can be set directly on each axis and legend. Use D3's time format pattern.
Default value: '%b %d, %Y'.
10 nested properties
Angle in degrees of title text.
Text color for title text.
Font name for title text.
Font size in pixels for title text.
Default value: 10.
Font weight for title text.
The maximum allowed length in pixels of legend labels.
Offset in pixels of the title from the chart body and axes.
10 nested properties
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
Description of this mark for commenting purpose.
The height of a visualization.
Default value:
- If a view's
autosizetype is"fit"or its y-channel has a continuous scale, the height will be the value ofconfig.view.height. - For y-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the height is determined by the range step, paddings, and the cardinality of the field mapped to y-channel. Otherwise, if therangeStepisnull, the height will be the value ofconfig.view.height. - If no field is mapped to
ychannel, theheightwill be the value ofrangeStep.
Note: For plots with row and column channels, this represents the height of a single view.
See also: The documentation for width and height contains more examples.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
The width of a visualization.
Default value: This will be determined by the following rules:
- If a view's
autosizetype is"fit"or its x-channel has a continuous scale, the width will be the value ofconfig.view.width. - For x-axis with a band or point scale: if
rangeStepis a numeric value or unspecified, the width is determined by the range step, paddings, and the cardinality of the field mapped to x-channel. Otherwise, if therangeStepisnull, the width will be the value ofconfig.view.width. - If no field is mapped to
xchannel, thewidthwill be the value ofconfig.scale.textXRangeStepfortextmark and the value ofrangeStepfor other marks.
Note: For plots with row and column channels, this represents the width of a single view.
See also: The documentation for width and height contains more examples.
2 nested properties
Horizontal repeated views.
Vertical repeated views.
URL to JSON schema for a Vega-Lite specification. Unless you have a reason to change this, use <https://vega.github.io/schema/vega-lite/v2.json>. Setting the $schema property allows automatic validation and autocomplete in editors that support JSON schema.
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
CSS color property to use as the background of visualization.
Default value: none (transparent)
35 nested properties
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
39 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
CSS color property to use as the background of visualization.
Default value: none (transparent)
31 nested properties
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Default axis and legend title for count fields.
Default value: 'Number of Records'.
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").
Defines how Vega-Lite should handle invalid values (null and NaN).
- If set to
"filter"(default), all data items with null values are filtered. - If
null, all data items are included. In this case, invalid values will be interpreted as zeroes.
36 nested properties
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Whether month names and weekday names should be abbreviated.
Default value: false
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
D3 Number format for axis labels and text tables. For example "s" for SI units. Use D3's number format pattern.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
6 nested properties
Default range for nominal (categorical) fields.
Default range for diverging quantitative fields.
Default range for quantitative heatmaps.
Default range for ordinal fields.
Default range for quantitative and temporal fields.
Default range palette for the shape channel.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
19 nested properties
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
29 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
30 nested properties
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
Default datetime format for axis and legend labels. The format can be set directly on each axis and legend. Use D3's time format pattern.
Default value: '%b %d, %Y'.
10 nested properties
Angle in degrees of title text.
Text color for title text.
Font name for title text.
Font size in pixels for title text.
Default value: 10.
Font weight for title text.
The maximum allowed length in pixels of legend labels.
Offset in pixels of the title from the chart body and axes.
10 nested properties
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
Description of this mark for commenting purpose.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
A list of views that should be concatenated and put into a column.
URL to JSON schema for a Vega-Lite specification. Unless you have a reason to change this, use <https://vega.github.io/schema/vega-lite/v2.json>. Setting the $schema property allows automatic validation and autocomplete in editors that support JSON schema.
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
CSS color property to use as the background of visualization.
Default value: none (transparent)
35 nested properties
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
39 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
Whether month names and weekday names should be abbreviated.
Default value: false
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
38 nested properties
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
CSS color property to use as the background of visualization.
Default value: none (transparent)
31 nested properties
The rotation angle of the text, in degrees.
Offset between bar for binned field. Ideal value for this is either 0 (Preferred by statisticians) or 1 (Vega-Lite Default, D3 example style).
Default value: 1
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The default size of the bars on continuous scales.
Default value: 5
The size of the bars. If unspecified, the default size is bandSize-1,
which provides 1 pixel offset between bars.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Default axis and legend title for count fields.
Default value: 'Number of Records'.
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").
Defines how Vega-Lite should handle invalid values (null and NaN).
- If set to
"filter"(default), all data items with null values are filtered. - If
null, all data items are included. In this case, invalid values will be interpreted as zeroes.
36 nested properties
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Whether month names and weekday names should be abbreviated.
Default value: false
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
D3 Number format for axis labels and text tables. For example "s" for SI units. Use D3's number format pattern.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
6 nested properties
Default range for nominal (categorical) fields.
Default range for diverging quantitative fields.
Default range for quantitative heatmaps.
Default range for ordinal fields.
Default range for quantitative and temporal fields.
Default range palette for the shape channel.
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
19 nested properties
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
28 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
29 nested properties
The rotation angle of the text, in degrees.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
Whether month names and weekday names should be abbreviated.
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
30 nested properties
The rotation angle of the text, in degrees.
The width of the ticks.
Default value: 2/3 of rangeStep.
Default color. Note that fill and stroke have higher precedence than color and will override color.
Default value: â– "#4682b4"
Note: This property cannot be used in a style config.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
Whether the mark's color should be used as fill color instead of stroke color.
Default value: true for all marks except point and false for point.
Applicable for: bar, point, circle, square, and area marks.
Note: This property cannot be used in a style config.
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Thickness of the tick mark.
Default value: 1
Default datetime format for axis and legend labels. The format can be set directly on each axis and legend. Use D3's time format pattern.
Default value: '%b %d, %Y'.
10 nested properties
Angle in degrees of title text.
Text color for title text.
Font name for title text.
Font size in pixels for title text.
Default value: 10.
Font weight for title text.
The maximum allowed length in pixels of legend labels.
Offset in pixels of the title from the chart body and axes.
10 nested properties
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
Description of this mark for commenting purpose.
Name of the visualization for later reference.
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.
Title for the plot.
An array of data transformations such as filter and new field calculation.
Sets 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.
"fit" is only supported for single and layered views that don't use rangeStep.
Default value: pad
CSS color property to use as the background of visualization.
Default value: none (transparent)
The name of the TopoJSON object set to convert to a GeoJSON feature collection.
For example, in a map of the world, there may be an object set named "countries".
Using the feature property, we can extract this set and generate a GeoJSON feature object for each country.
The name of the TopoJSON object set to convert to mesh.
Similar to the feature option, mesh extracts a named TopoJSON object set.
Unlike the feature option, the corresponding geo data is returned as a single, unified mesh instance, not as individual GeoJSON features.
Extracting a mesh is useful for more efficiently drawing borders or other geographic elements that you do not need to associate with specific regions such as individual countries, states or counties.
If set to auto (the default), perform automatic type inference to determine the desired data types.
Alternatively, a parsing directive object can be provided for explicit data types. Each property of the object corresponds to a field name, and the value to the desired data type (one of "number", "boolean" or "date").
For example, "parse": {"modified_on": "date"} parses the modified_on field in each input record a Date value.
For "date", we parse data based using Javascript's Date.parse().
For Specific date formats can be provided (e.g., {foo: 'date:"%m%d%Y"'}), using the d3-time-format syntax. UTC date format parsing is supported similarly (e.g., {foo: 'utc:"%m%d%Y"'}). See more about UTC time
Type of input data: "json", "csv", "tsv".
The default format type is determined by the extension of the file URL.
If no extension is detected, "json" will be used by default.
Constants and utilities for data type
Data type based on level of measurement
An URL from which to load the data set. Use the format.type property
to ensure the loaded data is correctly parsed.
Default axis and legend title for count fields.
Default value: 'Number of Records'.
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").
Defines how Vega-Lite should handle invalid values (null and NaN).
- If set to
"filter"(default), all data items with null values are filtered. - If
null, all data items are included. In this case, invalid values will be interpreted as zeroes.
D3 Number format for axis labels and text tables. For example "s" for SI units. Use D3's number format pattern.
19 nested properties
Default inner padding for x and y band-ordinal scales.
Default value: 0.1
Default outer padding for x and y band-ordinal scales.
If not specified, by default, band scale's paddingOuter is paddingInner/2.
If true, values that exceed the data domain are clamped to either the minimum or maximum range value
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.
The default max value for mapping quantitative fields to bar's size/bandSize.
If undefined (default), we will use the scale's rangeStep - 1.
The default max value for mapping quantitative fields to text's size/fontSize.
Default value: 40
Default max opacity for mapping a field to opacity.
Default value: 0.8
Default max value for point size scale.
Default max strokeWidth for strokeWidth (or rule/line's size) scale.
Default value: 4
The default min value for mapping quantitative fields to bar and tick's size/bandSize scale with zero=false.
Default value: 2
The default min value for mapping quantitative fields to tick's size/fontSize scale with zero=false
Default value: 8
Default minimum opacity for mapping a field to opacity.
Default value: 0.3
Default minimum value for point size scale with zero=false.
Default value: 9
Default minimum strokeWidth for strokeWidth (or rule/line's size) scale with zero=false.
Default value: 1
Default outer padding for x and y point-ordinal scales.
Default value: 0.5
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
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.)
Default range step for x band and point scales of text marks.
Default value: 90
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
3 nested properties
9 nested properties
Establishes a two-way binding between the interval selection and the scales used within the same view. This allows a user to interactively pan and zoom the view.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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.
Default value: true, which corresponds to
[mousedown, window:mouseup] > window:mousemove! which corresponds to
clicks and dragging within an interval selection to reposition it.
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.
Default value: true, which corresponds to wheel!.
7 nested properties
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
Controls whether data values should be toggled or only ever inserted into
multi selections. Can be true, false (for insertion only), or a
Vega expression.
Default value: true, which corresponds to event.shiftKey (i.e.,
data values are toggled when a user interacts with the shift-key pressed).
See the toggle transform documentation for more information.
7 nested properties
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 or can be a mapping between projected field/encodings and binding definitions.
See the bind transform documentation for more information.
By default, all data values are considered to lie within an empty selection.
When set to none, empty selections contain no data values.
An array of encoding channels. The corresponding data field values must match for a data tuple to fall within the selection.
An array of field names whose values must match for a data tuple to fall within the selection.
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 documentation for more information.
Default datetime format for axis and legend labels. The format can be set directly on each axis and legend. Use D3's time format pattern.
Default value: '%b %d, %Y'.
10 nested properties
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
Definition object for a constant value of an encoding channel.
A constant value in visual domain (e.g., "red" / "#0099ff" for color, values between 0 to 1 for opacity).
A ValueDef with Condition<ValueDef | FieldDef> { condition: {field: ...} | {value: ...}, value: ..., }
A field definition or one or more value definition(s) with a selection predicate.
A constant value in visual domain.
A ValueDef with Condition<ValueDef | FieldDef> { condition: {field: ...} | {value: ...}, value: ..., }
A field definition or one or more value definition(s) with a selection predicate.
A constant value in visual domain.
Base object for Vega's Axis and Axis Config. All of these properties are both properties of Vega's Axis and Axis Config.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The size in pixels of axis ticks.
Boolean value that determines whether the axis should include ticks.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
An interpolation fraction indicating where, for band scales, axis ticks should be positioned. A value of 0 places ticks at the left edge of their bands. A value of 0.5 places ticks in the middle of their bands.
A boolean flag indicating if the domain (the axis baseline) should be included as part of the axis.
Default value: true
Color of axis domain line.
Default value: (none, using Vega default).
Stroke width of axis domain line
Default value: (none, using Vega default).
A boolean flag indicating if grid lines should be included as part of the axis
Default value: true for continuous scales that are not binned; otherwise, false.
Color of gridlines.
The offset (in pixels) into which to begin drawing with the grid dash array.
The stroke opacity of grid (value between [0,1])
Default value: (1 by default)
The grid width, in pixels.
The rotation angle of the axis labels.
Default value: -90 for nominal and ordinal fields; 0 otherwise.
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.
The color of the tick label, can be in hex color code or regular color name.
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.
The font of the tick label.
The font size of the label, in pixels.
Maximum allowed pixel width of axis tick labels.
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 padding, in pixels, between axis and text labels.
A boolean flag indicating if labels should be included as part of the axis.
Default value: true.
The maximum extent in pixels that axis ticks and labels should use. This determines a maximum offset value for axis titles.
Default value: undefined.
The minimum extent in pixels that axis ticks and labels should use. This determines a minimum offset value for axis titles.
Default value: 30 for y-axis; undefined for x-axis.
The color of the axis's tick.
Boolean flag indicating if pixel position values should be rounded to the nearest integer.
The size in pixels of axis ticks.
The width, in pixels, of ticks.
Boolean value that determines whether the axis should include ticks.
Horizontal text alignment of axis titles.
Angle in degrees of axis titles.
Vertical text baseline for axis titles.
Color of the title, can be in hex color code or regular color name.
Font of the title. (e.g., "Helvetica Neue").
Font size of the title.
Font weight of the title. (e.g., "bold").
Maximum allowed pixel width of axis titles.
Max length for axis title if the title is automatically generated from the field's description.
The padding, in pixels, between title and axis.
X-coordinate of the axis title relative to the axis group.
Y-coordinate of the axis title relative to the axis group.
Padding (in pixels) between legend entries in a symbol legend.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Corner radius for the full legend.
Padding (in pixels) between legend entries in a symbol legend.
Background fill color for the full legend.
The height of the gradient, in pixels.
Text baseline for color ramp gradient labels.
The maximum allowed length in pixels of color ramp gradient labels.
Vertical offset in pixels for color ramp gradient labels.
The color of the gradient stroke, can be in hex color code or regular color name.
The width of the gradient stroke, in pixels.
The width of the gradient, in pixels.
The alignment of the legend label, can be left, middle or right.
The position of the baseline of legend label, can be top, middle or bottom.
The color of the legend label, can be in hex color code or regular color name.
The font of the legend label.
The font size of legend label.
Default value: 10.
Maximum allowed pixel width of axis tick labels.
The offset of the legend label.
The offset, in pixels, by which to displace the legend from the edge of the enclosing group or data rectangle.
Default value: 0
The padding, in pixels, between the legend and axis.
Border stroke color for the full legend.
Border stroke dash pattern for the full legend.
Border stroke width for the full legend.
The color of the legend symbol,
The size of the legend symbol, in pixels.
The width of the symbol's stroke.
Default shape type (such as "circle") for legend symbols.
Horizontal text alignment for legend titles.
Vertical text baseline for legend titles.
The color of the legend title, can be in hex color code or regular color name.
The font of the legend title.
The font size of the legend title.
The font weight of the legend title.
Maximum allowed pixel width of axis titles.
The padding, in pixels, between title and legend.
The rotation angle of the text, in degrees.
The horizontal offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
The vertical offset, in pixels, between the text label and its anchor point. The offset is applied after rotation by the angle property.
Default Fill Color. This has higher precedence than config.color
Default value: (None)
The fill opacity (value between [0,1]).
Default value: 1
The typeface to set the text in (e.g., "Helvetica Neue").
The font size, in pixels.
The font weight (e.g., "bold").
The maximum length of the text mark in pixels (default 0, indicating no limit). The text value will be automatically truncated if the rendered size exceeds the limit.
The overall opacity (value between [0,1]).
Default value: 0.7 for non-aggregate plots with point, tick, circle, or square marks or layered bar charts and 1 otherwise.
Polar coordinate radial offset, in pixels, of the text label from the origin determined by the x and y properties.
The default symbol shape to use. One of: "circle" (default), "square", "cross", "diamond", "triangle-up", or "triangle-down", or a custom SVG path.
Default value: "circle"
The pixel area each the point/circle/square. For example: in the case of circles, the radius is determined in part by the square root of the size value.
Default value: 30
Default Stroke Color. This has higher precedence than config.color
Default value: (None)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
The offset (in pixels) into which to begin drawing with the stroke dash array.
The stroke opacity (value between [0,1]).
Default value: 1
The stroke width, in pixels.
Depending on the interpolation type, sets the tension parameter (for line and area marks).
Placeholder text if the text channel is not specified
Polar coordinate angle, in radians, of the text label from the origin determined by the x and y properties. Values for theta follow the same convention of arc mark startAngle and endAngle properties: angles are measured in radians, with 0 indicating "north".
Angle in degrees of title text.
Text color for title text.
Font name for title text.
Font size in pixels for title text.
Default value: 10.
Font weight for title text.
The maximum allowed length in pixels of legend labels.
Offset in pixels of the title from the chart body and axes.
Whether the view should be clipped.
The fill color.
Default value: (none)
The fill opacity (value between [0,1]).
Default value: (none)
The default height of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) y-scale with rangeStep = null.
Default value: 200
The stroke color.
Default value: (none)
An array of alternating stroke, space lengths for creating dashed or dotted lines.
Default value: (none)
The offset (in pixels) into which to begin drawing with the stroke dash array.
Default value: (none)
The stroke opacity (value between [0,1]).
Default value: (none)
The stroke width, in pixels.
Default value: (none)
The default width of the single plot or each plot in a trellis plot when the visualization has a continuous (non-ordinal) x-scale or ordinal x-scale with rangeStep = null.
Default value: 200
Whether month names and weekday names should be abbreviated.
Default value: false