Skip to content

2.6.0

Compare
Choose a tag to compare
@kanitw kanitw released this 02 Jul 18:12
· 3362 commits to master since this release

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, and center properties to all composition operators (facet, hconcat, vconcat, and repeat).
    • Add label and title properties to facet header -- Thanks @melissatdiamond
  • Improve sorting support

    • Make sort array support boolean and number in addition to string
    • Make facet's row and column channels support sorting by another field and specifying custom sort order using as array
  • Improve date support for sort, scale domain and values of axis and legend.

    • Day or month names (and its 3-letter initials, e.g., "Mon") can be used with a field with timeUnit = day or month - For instance, see the Github Punchcard example.
    • Date string as supported by Javascript Date() can be used with a field with timeUnit or with type = "temporal"
  • 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"

New Examples

v2.5.0...v2.6.0