Skip to content

Releases: vega/vega-lite

v2.0.0-beta.6

27 Jun 19:36
Compare
Choose a tag to compare
v2.0.0-beta.6 Pre-release
Pre-release
  • 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 to invalidValues: "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

19 Jun 19:01
Compare
Choose a tag to compare
v2.0.0-beta.5 Pre-release
Pre-release
  • Support {condition: {field: ...}} for encoding

v2.0.0-beta.4

19 Jun 18:39
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release
  • Use sequential color scale by default for ordinal color
  • Support bin, summarize, timeUnit, lookup in transform array
  • The Vega output now includes config.
  • We no longer require field: "*" for aggregate: "count"
  • Added "autoResize" property
  • Make scale.domain support expression + utc date object (#2383)

v2.0.0-beta.3

16 May 22:41
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release
  • Correct rangeType for text, tooltip and x2/y2. This makes "nominal" the default type for text and tooltip. Fix #2335
  • Add utc support when user specify scale type as utc
  • Add missing axis/legend config (#2359)

v2.0.0-beta.2

01 May 06:58
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release
  • Support for tooltip channel thanks to @doug #2132
  • Add resolve to layer #2327
  • Lots of docs updates
  • Fix problems with fields with -
  • Add facet header with title and format
  • Remove title and format from FieldDef
  • Make layer adopts parent's width/height.

v2.0.0-beta.1

29 Apr 19:34
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

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

24 Apr 18:19
Compare
Choose a tag to compare
v2.0.0-alpha.10 Pre-release
Pre-release
  • 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

15 Apr 18:47
Compare
Choose a tag to compare
v2.0.0-alpha.9 Pre-release
Pre-release

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

  1. 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.
  2. 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

  • Fix the bug that labelAngle cannot be applied when labelAngle == 0 (#1664)
  • Major internal improvements with a new dataflow (#2086)

v2.0.0-alpha.8

30 Mar 00:50
Compare
Choose a tag to compare
v2.0.0-alpha.8 Pre-release
Pre-release
  • 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, and axisBand in config

v2.0.0-alpha.7

30 Mar 00:25
Compare
Choose a tag to compare
v2.0.0-alpha.7 Pre-release
Pre-release
  • Update rules for legend type
  • Fix color scale legends
  • Only apply opacity if there is raw level of detail channel