Base class for plotting specifications.
- Type Params
- T
Type that implementes the base class.
- Value Params
- cfg
Plotting configuration.
- Since
0.1.0
- Companion
- object
Value members
Concrete methods
The alignment to apply to grid rows and columns.
The alignment to apply to grid rows and columns.
- Value Params
- Since
0.1.0
Rotation angle of "point" and "text" marks.
Rotation angle of "point" and "text" marks.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
The bounds calculation method to use for determining the extent of a sub-plot.
The bounds calculation method to use for determining the extent of a sub-plot.
- Value Params
- Since
0.1.0
Indicating if subviews should be centered relative to their respective rows or columns.
Indicating if subviews should be centered relative to their respective rows or columns.
- Value Params
- Since
0.1.0
Color of the marks – either fill or stroke color based on the filled property of mark definition.
Color of the marks – either fill or stroke color based on the filled property of mark definition.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
Facets plots into columns.
Facets plots into columns.
- Value Params
- align
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- as
- bin
- center
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- field
Column or field name.
- header
- spacing
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- timeUnit
- title
Title.
- See also
- Since
0.1.0
Custom encoding channel element.
Custom encoding channel element.
- Value Params
- field
Column or field name.
- name
Encoding name.
- struct
Definition.
- Since
0.1.0
DataFrame referenced by column names for Plot or Layer.
DataFrame referenced by column names for Plot or Layer.
- Value Params
- df
DataFrame.
- Since
0.1.0
Embeds additional DataFrame columns in the data.
Embeds additional DataFrame columns in the data.
- Value Params
- field
Column name.
- Since
0.1.0
Description of this mark for commenting purpose.
Description of this mark for commenting purpose.
- Value Params
- string
Description.
- Since
0.1.0
The description encoding adds a text description to the mark for ARIA accessibility (SVG output only).
The description encoding adds a text description to the mark for ARIA accessibility (SVG output only).
- Value Params
- aggregate
- as
- bandPosition
- bin
- condition
- datum
- field
Column or field name.
- format
- formatType
- timeUnit
- title
Title.
- value
- Since
0.1.0
Defines an additional grouping field for grouping data without mapping the field to any visual properties.
Defines an additional grouping field for grouping data without mapping the field to any visual properties.
- Value Params
- as
- field
Column or field name.
- Since
0.1.0
Defines additional grouping fields for grouping data without mapping the fields to any visual properties.
Defines additional grouping fields for grouping data without mapping the fields to any visual properties.
- Value Params
- fields
Tuples of
fieldandas(https://vega.github.io/vega-lite/docs/type.html). Example:.details( "group3" -> Nominal, "group4" -> Nominal)
- Since
0.1.0
Facets single plots into trellis plots, i.e. columns and rows.
Facets single plots into trellis plots, i.e. columns and rows.
- Value Params
- align
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- as
- bin
- center
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- columns
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- field
Column or field name.
- header
- spacing
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- timeUnit
- title
Title.
- See also
- Since
0.1.0
Fill color of the marks.
Fill color of the marks.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
Fill opacity of the marks.
Fill opacity of the marks.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
Horizontal concatenation of plots.
Horizontal concatenation of plots.
- Value Params
- layers
Layers.
- Since
0.1.0
The href encoding makes a mark a hyperlink.
The href encoding makes a mark a hyperlink.
- Value Params
- aggregate
- as
- bandPosition
- bin
- condition
- datum
- field
Column or field name.
- timeUnit
- title
Title.
- value
- Since
0.1.0
The key channel can enable object constancy for transitions over dynamic data.
The key channel can enable object constancy for transitions over dynamic data.
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- format
- formatType
- timeUnit
- title
Title.
- value
- Since
0.1.0
Latitude position of geographically projected marks.
Latitude position of geographically projected marks.
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- timeUnit
- title
Title.
- value
- Since
0.1.0
Latitude2 position for geographically projected ranged "area", "bar", "rect", and "rule"
Latitude2 position for geographically projected ranged "area", "bar", "rect", and "rule"
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- timeUnit
- title
Title.
- value
- Since
0.1.0
Adds multiple (overlaying) layers .
Adds multiple (overlaying) layers .
- Value Params
- layers
Layers.
- Since
0.1.0
- Note
The layering mode is applied to all defined layers.
Longitude position of geographically projected marks.
Longitude position of geographically projected marks.
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- timeUnit
- title
Title.
- value
- Since
0.1.0
Longitude2 position for geographically projected ranged "area", "bar", "rect", and "rule".
Longitude2 position for geographically projected ranged "area", "bar", "rect", and "rule".
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- timeUnit
- title
Title.
- value
- Since
0.1.0
Name of the visualization for reference.
Name of the visualization for reference.
- Value Params
- name
Name.
- Since
0.1.0
Opacity of the marks.
Opacity of the marks.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
The order defines a data field that is used to sorts stacking order for stacked charts and the order of data points in line marks for connected scatterplots.
The order defines a data field that is used to sorts stacking order for stacked charts and the order of data points in line marks for connected scatterplots.
- Value Params
- aggregate
- as
- bandPosition
- bin
- condition
- datum
- field
Column or field name.
- sort
- timeUnit
- title
Title.
- value
- Since
0.1.0
Multi-field order definition.
Multi-field order definition.
- Value Params
- fields
Tuples of field names and Struct.
- Since
0.1.0
Parameters can either be simple variables or more complex selections that map user input to data queries.
Parameters can either be simple variables or more complex selections that map user input to data queries.
- Value Params
- Since
0.1.0
Radius determines the position or interval on polar coordinates for arc and text marks.
Radius determines the position or interval on polar coordinates for arc and text marks.
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- scale
- sort
- stack
- timeUnit
- title
Title.
- value
- Since
0.1.0
Radius2 determines the position or interval on polar coordinates for arc and text marks.
Radius2 determines the position or interval on polar coordinates for arc and text marks.
https://vega.github.io/vega-lite/docs/encoding.html#polar
- @param field Column or field name.
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- timeUnit
- title
Title.
- value
- Since
0.1.0
Scale, axis, and legend resolutions for view composition specifications.
Scale, axis, and legend resolutions for view composition specifications.
- Value Params
- Since
0.1.0
Facets plots into rows.
Facets plots into rows.
- Value Params
- align
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- as
- bin
- center
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- field
Column or field name.
- header
- spacing
https://vega.github.io/vega-lite/docs/facet.html#facet-field-definition
- timeUnit
- title
Title.
- See also
- Since
0.1.0
Shape of the mark.
Shape of the mark.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
Size of the mark.
Size of the mark.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
The spacing (in pixels) between sub-views of the composition operator.
The spacing (in pixels) between sub-views of the composition operator.
- Value Params
- Since
0.1.0
Stroke color of the marks.
Stroke color of the marks.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
Stroke dash of the marks.
Stroke dash of the marks.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
Stroke opacity of the marks.
Stroke opacity of the marks.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
Stroke width of the marks.
Stroke width of the marks.
https://vega.github.io/vega-lite/docs/encoding.html#mark-prop
- Value Params
- aggregate
- as
- bin
- condition
- datum
- field
Column or field name.
- legend
- scale
- timeUnit
- title
Title.
- value
- Since
0.1.0
Text of the text mark.
Text of the text mark.
- Value Params
- aggregate
- as
- bandPosition
- bin
- condition
- datum
- field
Column or field name.
- format
- formatType
- timeUnit
- title
Title.
- value
- Since
0.1.0
Theta determines the position or interval on polar coordinates for arc and text marks.
Theta determines the position or interval on polar coordinates for arc and text marks.
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- scale
- sort
- stack
- timeUnit
- title
Title.
- value
- Since
0.1.0
Theta2 determines the interval on polar coordinates for arc and text marks.
Theta2 determines the interval on polar coordinates for arc and text marks.
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- timeUnit
- title
Title.
- value
- Since
0.1.0
The tooltip text to show upon mouse hover.
The tooltip text to show upon mouse hover.
- Value Params
- aggregate
- as
- bandPosition
- bin
- condition
- datum
- field
Column or field name.
- format
- formatType
- timeUnit
- title
Title.
- value
- Since
0.1.0
Multi-field tooltip text to show upon mouse hover.
Multi-field tooltip text to show upon mouse hover.
- Value Params
- fields
Tuples of field names and Struct(field, as, aggregate, bandPosition, bin, condition, datum, format, formatType, timeUnit, title, value) (see tooltip for details).
- Since
0.1.0
- Example
.tooltips( "x" -> Struct(field = "x", as = Temporal, title = "X Value"), "y" -> Struct(field = "y", as = Nominal, title = "Y Value") )
Data transformations such as filter and new field calculation.
Data transformations such as filter and new field calculation.
- Value Params
- Since
0.1.0
- Note
Use "set" to set a new field/variable.
- Example
.transform( Struct(calculate="datum.x*datum.x", set="x2"), Struct(filter="datum.x2 < 100") )
Vertical concatenation of plots.
Vertical concatenation of plots.
- Value Params
- layers
Layers.
- Since
0.1.0
Defines the view background’s fill and stroke.
Defines the view background’s fill and stroke.
https://vega.github.io/vega-lite/docs/spec.html#view-background
- Since
0.1.0
X coordinates or width of horizontal "bar" and "area".
X coordinates or width of horizontal "bar" and "area".
https://vega.github.io/vega-lite/docs/encoding.html#position
- Value Params
- aggregate
- as
- axis
- bandPosition
- bin
- datum
- field
Column or field name.
- impute
- scale
- sort
- stack
- timeUnit
- title
Title.
- value
- Since
0.1.0
X2 coordinates for ranged "area", "bar", "rect", and "rule".
X2 coordinates for ranged "area", "bar", "rect", and "rule".
https://vega.github.io/vega-lite/docs/encoding.html#position
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- impute
- timeUnit
- title
Title.
- value
- Since
0.1.0
The xOffset determines an additional offset to the x position.
The xOffset determines an additional offset to the x position.
https://vega.github.io/vega-lite/docs/encoding.html#positon-offset
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- scale
- sort
- timeUnit
- title
Title.
- value
- Since
0.1.0
Y coordinates or height of vertical "bar" and "area".
Y coordinates or height of vertical "bar" and "area".
https://vega.github.io/vega-lite/docs/encoding.html#position
- Value Params
- aggregate
- as
- axis
- bandPosition
- bin
- datum
- field
Column or field name.
- impute
- scale
- sort
- stack
- timeUnit
- title
Title.
- value
- Since
0.1.0
Y2 coordinates for ranged "area", "bar", "rect", and "rule".
Y2 coordinates for ranged "area", "bar", "rect", and "rule".
https://vega.github.io/vega-lite/docs/encoding.html#position
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- impute
- timeUnit
- title
Title.
- value
- Since
0.1.0
The yOffset determines an additional offset to the y position.
The yOffset determines an additional offset to the y position.
https://vega.github.io/vega-lite/docs/encoding.html#positon-offset
- Value Params
- aggregate
- as
- bandPosition
- bin
- datum
- field
Column or field name.
- scale
- sort
- timeUnit
- title
Title.
- value
- Since
0.1.0