[−][src]Crate vega_lite_3
Structs
AggregatedFieldDef | |
AggregatedFieldDefBuilder | Builder for |
AreaConfig | Area-Specific Config |
AreaConfigBuilder | Builder for |
ArgmDef | |
ArgmDefBuilder | Builder for |
AutoSizeParams | |
AutoSizeParamsBuilder | Builder for |
Axis | |
AxisBuilder | Builder for |
AxisConfig | Axis configuration, which determines default properties for all |
AxisConfigBuilder | Builder for |
AxisResolveMap | |
AxisResolveMapBuilder | Builder for |
BarConfig | Bar-Specific Config |
BarConfigBuilder | Builder for |
BaseLegendLayout | |
BaseLegendLayoutBuilder | Builder for |
BaseMarkConfig | |
BaseMarkConfigBuilder | Builder for |
BaseTitleConfig | Title configuration, which determines default properties for all titles. For a full list of title configuration options, please see the corresponding section of the title documentation. |
BaseTitleConfigBuilder | Builder for |
BinParams | Binning properties or boolean flag for determining whether to bin data or not. |
BinParamsBuilder | Builder for |
Binding | |
BindingBuilder | Builder for |
BoxPlotConfig | Box Config |
BoxPlotConfigBuilder | Builder for |
BrushConfig | An interval selection also adds a rectangle mark to depict the
extents of the interval. The |
BrushConfigBuilder | Builder for |
CompositionConfig | Default configuration for all concatenation view composition operators ( |
CompositionConfigBuilder | Builder for |
Conditional | |
ConditionalBuilder | Builder for |
ConditionalPredicateNumberValueDefClass | |
ConditionalPredicateNumberValueDefClassBuilder | Builder for |
ConditionalPredicateStringValueDefClass | |
ConditionalPredicateStringValueDefClassBuilder | Builder for |
ConditionalPredicateTextFieldDefClass | |
ConditionalPredicateTextFieldDefClassBuilder | Builder for |
ConditionalValueDef | |
ConditionalValueDefBuilder | Builder for |
Config | Vega-Lite configuration object. This property can only be defined at the top-level of a specification. |
ConfigBuilder | Builder for |
Data | An object describing the data source |
DataBuilder | Builder for |
DataFormat | An object that specifies the format for parsing the data. |
DataFormatBuilder | Builder for |
DateTime | Object for defining datetime in Vega-Lite Filter.
If both month and quarter are provided, month has higher precedence.
|
DateTimeBuilder | Builder for |
DomainClass | |
DomainClassBuilder | Builder for |
Encoding | A key-value mapping between encoding channels and definition of fields. |
EncodingBuilder | Builder for |
EncodingSortField | A sort definition for sorting a discrete scale in an encoding field definition. |
EncodingSortFieldBuilder | Builder for |
ErrorBandConfig | ErrorBand Config |
ErrorBandConfigBuilder | Builder for |
ErrorBarConfig | ErrorBar Config |
ErrorBarConfigBuilder | Builder for |
Facet | Definition for how to facet the data. One of: |
FacetBuilder | Builder for |
FacetFieldDef | A field definition for the horizontal facet of trellis plots. |
FacetFieldDefBuilder | Builder for |
FieldDefWithConditionTextFieldDefValue | A FieldDef with Condition |
FieldDefWithConditionTextFieldDefValueBuilder | Builder for |
FluffyConditionalValueDef | |
FluffyConditionalValueDefBuilder | Builder for |
GraticuleParams | |
GraticuleParamsBuilder | Builder for |
Header | An object defining properties of a facet's header. |
HeaderBuilder | Builder for |
HeaderConfig | Header configuration, which determines default properties for all headers. |
HeaderConfigBuilder | Builder for |
ImputeParams | An object defining the properties of the Impute Operation to be applied.
The field value of the other positional channel is taken as |
ImputeParamsBuilder | Builder for |
ImputeSequence | |
ImputeSequenceBuilder | Builder for |
IntervalSelectionConfig | The default definition for an
|
IntervalSelectionConfigBuilder | Builder for |
JoinAggregateFieldDef | |
JoinAggregateFieldDefBuilder | Builder for |
Latitude2Class | Latitude-2 position for geographically projected ranged |
Latitude2ClassBuilder | Builder for |
LatitudeClass | Latitude position of geographically projected marks. |
LatitudeClassBuilder | Builder for |
LayerEncoding | A shared key-value mapping between encoding channels and definition of fields in the underlying layers. |
LayerEncodingBuilder | Builder for |
LayerSpec | A full layered plot specification, which may contains |
LayerSpecBuilder | Builder for |
Legend | Properties of a legend or boolean flag for determining whether to show it. |
LegendBuilder | Builder for |
LegendConfig | Legend configuration, which determines default properties for all legends. For a full list of legend configuration options, please see the corresponding section of in the legend documentation. |
LegendConfigBuilder | Builder for |
LegendLayout | Legend orient group layout parameters. |
LegendLayoutBuilder | Builder for |
LegendResolveMap | |
LegendResolveMapBuilder | Builder for |
LineConfig | Line-Specific Config |
LineConfigBuilder | Builder for |
LookupData | Secondary data reference. |
LookupDataBuilder | Builder for |
MarkConfig | Circle-Specific Config |
MarkConfigBuilder | Builder for |
MarkDefClass | |
MarkDefClassBuilder | Builder for |
MultiSelectionConfig | The default definition for a
|
MultiSelectionConfigBuilder | Builder for |
NiceClass | |
NiceClassBuilder | Builder for |
OrderFieldDef | |
OrderFieldDefBuilder | Builder for |
OrderFieldDefClass | Definition object for a constant value of an encoding channel. |
OrderFieldDefClassBuilder | Builder for |
OverlayMarkDef | |
OverlayMarkDefBuilder | Builder for |
PaddingClass | |
PaddingClassBuilder | Builder for |
Predicate | |
PredicateBuilder | Builder for |
Projection | Projection configuration, which determines default properties for all projections. For a full list of projection configuration options, please see the corresponding section of the projection documentation. |
ProjectionBuilder | Builder for |
PurpleConditionalValueDef | |
PurpleConditionalValueDefBuilder | Builder for |
RepeatMapping | |
RepeatMappingBuilder | Builder for |
RepeatRef | Reference to a repeated value. |
RepeatRefBuilder | Builder for |
Resolve | Scale, axis, and legend resolutions for view composition specifications. |
ResolveBuilder | Builder for |
RowColBoolean | |
RowColBooleanBuilder | Builder for |
RowColLayoutAlign | |
RowColLayoutAlignBuilder | Builder for |
RowColNumber | |
RowColNumberBuilder | Builder for |
Scale | |
ScaleBuilder | Builder for |
ScaleConfig | Scale configuration determines default properties for all scales. For a full list of scale configuration options, please see the corresponding section of the scale documentation. |
ScaleConfigBuilder | Builder for |
ScaleInterpolateParams | |
ScaleInterpolateParamsBuilder | Builder for |
ScaleResolveMap | |
ScaleResolveMapBuilder | Builder for |
SchemeConfig | |
SchemeConfigBuilder | Builder for |
SchemeParams | |
SchemeParamsBuilder | Builder for |
Selection | |
SelectionBuilder | Builder for |
SelectionConfig | An object hash for defining default properties for each type of selections. |
SelectionConfigBuilder | Builder for |
SelectionDef | |
SelectionDefBuilder | Builder for |
SequenceParams | Generate a sequence of numbers. |
SequenceParamsBuilder | Builder for |
SignalRef | |
SignalRefBuilder | Builder for |
SingleSelectionConfig | The default definition for a
|
SingleSelectionConfigBuilder | Builder for |
SortEncodingSortField | A sort definition for sorting a discrete scale in an encoding field definition. |
SortEncodingSortFieldBuilder | Builder for |
SortField | A sort definition for transform |
SortFieldBuilder | Builder for |
Spec | A specification of the view that gets repeated. |
SpecBuilder | Builder for |
SpecClass | A specification of the view that gets faceted. |
SpecClassBuilder | Builder for |
SphereClass | |
SphereClassBuilder | Builder for |
TextConfig | Text-Specific Config |
TextConfigBuilder | Builder for |
TextFieldDef | |
TextFieldDefBuilder | Builder for |
TickConfig | Tick-Specific Config |
TickConfigBuilder | Builder for |
TitleParams | |
TitleParamsBuilder | Builder for |
TooltipContent | |
TooltipContentBuilder | Builder for |
Transform | |
TransformBuilder | Builder for |
TypedFieldDef | Field Def without scale (and without bin: "binned" support). |
TypedFieldDefBuilder | Builder for |
ValueDefWithConditionMarkPropFieldDefNumber | Fill opacity of the marks. |
ValueDefWithConditionMarkPropFieldDefNumberBuilder | Builder for |
ValueDefWithConditionMarkPropFieldDefStringNull | Color of the marks – either fill or stroke color based on the |
ValueDefWithConditionMarkPropFieldDefStringNullBuilder | Builder for |
ValueDefWithConditionMarkPropFieldDefTypeForShapeStringNull | Shape of the mark. |
ValueDefWithConditionMarkPropFieldDefTypeForShapeStringNullBuilder | Builder for |
ValueDefWithConditionTextFieldDefValue | A URL to load upon mouse click. |
ValueDefWithConditionTextFieldDefValueBuilder | Builder for |
Vegalite | A Vega-Lite top-level specification. This is the root class for all Vega-Lite specifications. (The json schema is generated from this type.) |
VegaliteBuilder | Builder for |
ViewBackground | An object defining the view background's fill and stroke. |
ViewBackgroundBuilder | Builder for |
ViewConfig | Default properties for single view plots. |
ViewConfigBuilder | Builder for |
WindowFieldDef | |
WindowFieldDefBuilder | Builder for |
X2Class | X2 coordinates for ranged |
X2ClassBuilder | Builder for |
XClass | X coordinates of the marks, or width of horizontal |
XClassBuilder | Builder for |
Y2Class | Y2 coordinates for ranged |
Y2ClassBuilder | Builder for |
YClass | Y coordinates of the marks, or height of vertical |
YClassBuilder | Builder for |
Enums
Aggregate | Aggregation function for the field
(e.g., |
AggregateOp | An aggregate operation to
perform on the field prior to sorting (e.g., |
Align | The horizontal alignment of the text. One of |
AlignUnion | The alignment to apply to grid rows and columns.
The supported string values are |
AnyMark | A string describing the mark type (one of |
Autosize | Sets how the visualization size should be determined. If a string, should be one of
|
AutosizeType | The sizing format type. One of |
BinEnum | |
BindEnum | 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. |
BindValue | |
BottomCenter | |
BoundsEnum | The bounds calculation method to use for determining the extent of a sub-plot. One of
|
BoxPlotDefExtent | |
BoxplotExtent | The extent of the whiskers. Available options include: |
ColorCondition | |
ConditionUnion | |
Contains | Determines how size calculation should be performed, one of |
Content | |
Cursor | The mouse cursor used over the mark. Any valid CSS cursor type can be used. |
DataFormatType | Type of input data: |
DataInlineDataset | The full data set, included inline. This can be an array of objects or primitive values,
an object, or a string.
Arrays of primitive values are ingested as objects with a |
Day | Value representing the day of a week. This can be one of: (1) integer value -- |
DefBox | |
Detail | |
Dir | The direction of the text. One of |
Direction | The layout direction for legend orient group layout. |
Domain | |
DomainUnion | Customized domain values. |
Empty | By default, |
EqualUnion | |
ErrorbandExtent | The extent of the band. Available options include: |
ExtentEnum | |
ExtentExtent | The extent of the band. Available options include: |
Field | Required. A string defining the name of the field from which to pull a data value
or an object defining iterated values from the
|
FieldTitle | Defines how Vega-Lite generates title for fields. There are three possible styles: |
FillOpacityCondition | |
FluffyBin | |
FluffyValue | |
FontWeight | The font weight.
This can be either a string (e.g |
FontWeightEnum | |
FormatType | The format type for labels ( |
Graticule | Generate graticule GeoJSON data for geographic reference lines. |
HrefCondition | |
ImputeMethod | The imputation method to use for the field value of imputed data objects.
One of |
InitSelectionInitMapping | |
InlineDatasetValue | The full data set, included inline. This can be an array of objects or primitive values,
an object, or a string.
Arrays of primitive values are ingested as objects with a |
Interpolate | The line interpolation method to use for line and area marks. One of the following: |
InterpolateUnion | The interpolation method for range values. By default, a general interpolator for
numbers, dates, strings and colors (in HCL space) is used. For color ranges, this
property allows interpolation in alternative color spaces. Legal values include |
InvalidValues | |
Keyvals | |
Label | Indicates if labels should be hidden if they exceed the axis range. If |
LabelOverlap | The strategy to use for resolving overlap of axis labels. If |
LabelOverlapEnum | |
LatitudeType | The encoded field's type of measurement ( |
LayoutAlign | The alignment to apply to symbol legends rows and columns. The supported string values
are |
LayoutBounds | The bounds calculation to use for legend orient group layout. |
LegendOrient | The orientation of the legend, which determines how the legend is positioned within the scene. One of "left", "right", "top-left", "top-right", "bottom-left", "bottom-right", "none". |
LegendType | The type of the legend. Use |
Line | |
LogicalOperandPredicateElement | Predicate for triggering the condition |
Lt | |
Margin | |
Mark | The mark type. This could a primitive mark type
(one of |
Month | One of: (1) integer value representing the month from |
MultiInit | |
NiceTime | |
NiceUnion | 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]. |
Op | The window or aggregation operation to apply within a window (e.g., |
Order | |
Orient | The orientation of the header label. One of |
Orientation | The orientation of a non-stacked bar, tick, area, and line charts. The value is either horizontal (default) or vertical. |
Padding | The default visualization padding, in pixels, from the edge of the visualization canvas
to the data rectangle. If a number, specifies padding for all sides.
If an object, the value should have the format |
PointEnum | |
PointUnion | |
ProjectionType | The cartographic projection to use. This value is case-insensitive, for example
|
PurpleBin | An object indicating bin properties, or simply |
PurpleLogicalOperandPredicate | Predicate for triggering the condition |
PurpleSelectionOperand | Filter using a selection name. |
PurpleValue | |
RangeElement | |
RangeRange | |
RangeValue | |
RepeatEnum | |
RepeatUnion | Definition for fields to be repeated. One of: |
ResolveMode | |
ScaleInterpolate | |
ScaleInterpolateParamsType | |
ScaleRange | The range of the scale. One of: |
ScaleType | The type of scale. Vega-Lite supports the following categories of scale types: |
Scheme | A string indicating a color
scheme name (e.g.,
|
SelectionDefBind | |
SelectionDefInit | |
SelectionDefType | |
SelectionInitArrayElement | |
SelectionOperandElement | Filter using a selection name. |
SelectionResolution | With layered and multi-view displays, a strategy that determines how selections' data queries are resolved when applied in a filter transform, conditional encoding rule, or scale domain. |
SingleDefUnitChannel | The encoding channel to
sort by (e.g., |
Sort | Sort order for the encoded field. |
SortArray | Sort order for the encoded field. |
SortOrder | The sort order. One of |
Spacing | |
SphereUnion | Generate sphere GeoJSON data for the full globe. |
Stack | Type of stacking offset if the field should be stacked.
|
StackOffset | Default stack offset for stackable mark. |
StandardType | The encoded field's type of measurement ( |
StrokeCap | The stroke cap for line ending style. One of |
StrokeJoin | The stroke line join method. One of |
Style | 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 |
TextBaseline | The vertical alignment of the text. One of |
TimeUnit | Time unit for the field to be filtered. |
Title | |
TitleAnchor | |
TitleFrame | The reference frame for the anchor position, one of |
TitleOrient | Default title orientation ( |
Tooltip | |
TooltipUnion | |
Translate | When truthy, allows a user to interactively move an interval selection
back-and-forth. Can be |
TypeForShape | The encoded field's type of measurement ( |
Value | A constant value in visual domain (e.g., |
VegaliteCenter | |
XValue | A constant value in visual domain (e.g., |
YValue | A constant value in visual domain (e.g., |
Functions
iter_to_data |