Releases: vega/vega-lite
Releases · vega/vega-lite
v2.0.0-beta.6
- Support
valid
,distinct
,missing
aggregate - Clear brush if non-continuous/binned scale updates
- Change default number format from ’s’ to not specified to use Vega's new default
- Automatically remove label overlap for x-axes.
- Add scale
reverse
+ Update docs - Use ordinal scale for ordinal color scale
- Apply nullFilter only to fields with continuous domain scales
- Change config's
filterInvalid: boolean
toinvalidValues: "filter"
- Support Axis/Legend merging for composite plots
- Merge legend with the same field
- Add
box-plot
with Tukey Box Plot support
v2.0.0-beta.5
- Support
{condition: {field: ...}}
for encoding
v2.0.0-beta.4
- Use sequential color scale by default for ordinal color
- Support
bin
,summarize
,timeUnit
,lookup
intransform
array - The Vega output now includes
config
. - We no longer require
field: "*"
foraggregate: "count"
- Added
"autoResize"
property - Make scale.domain support expression + utc date object (#2383)
v2.0.0-beta.3
v2.0.0-beta.2
v2.0.0-beta.1
This is the first beta release of the
Major
- Vega-Lite now compiles to Vega 3
- Support for composition (Layer, Concat, and Repeat in addition to Facet)
- Describe interactive plots with Selections.
Details
- coming soon...
v2.0.0-alpha.10
- Selection filter support
- Selections for repeat, concat, layer and facet
- Remove support for filters of arrays withing the array transform. You can still create multiple entries.
v2.0.0-alpha.9
Syntax Changes
Top-Level Properties
Now top-level properties such as padding, $schema, config. etc. can only be specified at the top-level of a specification.
- Remove a defunct top-level property
viewport
as it no longer exists in Vega 3
Transform
transform
is now an array of different transform objects so the order of the transforms becomes clear.
Currently we support two types of transform objects
- Filter transform, which has a
"filter"
property describing (1) a Filter Definition Object (2) an array of Filter Definition Objects or (3) a Vega expression defining the filter. - Calculate transform, which has two properties: (1)
calculate
defining a Vega Expression of the formula to be calculated and 2)as
defining the calculated field name.
The follow diff shows an example changed in a specification.
- "transform": {
- "filter": "datum.year == 2000",
- "calculate": [{"as": "gender", "expr": "datum.sex == 2 ? \"Female\" : \"Male\""}]
- },
+ "transform": [
+ {"filter": "datum.year == 2000"},
+ {"calculate": "datum.sex == 2 ? \"Female\" : \"Male\"", "as": "gender"}
+ ],
Bin
Removed config.maxbins
and make the default depend on the channel. You can still override the maximum number of bins for each encoding.
Filled
Support filled in mark definitions (#2083).
Others
v2.0.0-alpha.8
- Support sorting time domains
- Remove need for babel
- Don't make bar automatically transparent for non-stack bar with raw fields on level of detail channels
- Allow users to customize role
- Add
labelLimit
,titleLimit
to config, remove labelMaxLength - Add
axisX
,axisY
,axisLeft
,axisTop
, andaxisBand
in config
v2.0.0-alpha.7
- Update rules for legend type
- Fix color scale legends
- Only apply opacity if there is raw level of detail channel