2.6.0
This will be the last release in Vega-Lite 2. After this release, we will start pre-release versions of Vega-Lite 3, which will require Vega 4.
Note that there won't be many breaking changes in Vega-Lite 3. The main exceptions are that (1) Vega-Lite 3 will require Vega 4 and (2) we will remove a few config properties that are removed from Vega 4.
Enhancement
-
Improve customization support for composition operators
- Add
spacing
,align
,bound
, andcenter
properties to all composition operators (facet
,hconcat
,vconcat
, andrepeat
). - Add label and title properties to facet header -- Thanks @melissatdiamond
- Add
-
Improve sorting support
- Make sort array support
boolean
andnumber
in addition tostring
- Make
facet
'srow
andcolumn
channels support sorting by another field and specifying custom sort order using as array
- Make sort array support
-
Improve date support for
sort
, scaledomain
andvalues
of axis and legend.- Day or month names (and its 3-letter initials, e.g.,
"Mon"
) can be used with a field withtimeUnit
=day
ormonth
- For instance, see the Github Punchcard example. - Date string as supported by Javascript Date() can be used with a field with
timeUnit
or withtype
="temporal"
- Day or month names (and its 3-letter initials, e.g.,
-
Add
anchor
to bin transform -- Thanks @invokesus -
When
href
is specified, cursor is automatically set to"pointer"
- Thanks @melissatdiamond
Bug Fixes
- Set facet row header baseline default to "middle"