Skip to content

v2.0.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@kanitw kanitw released this 16 Feb 23:15
· 5498 commits to master since this release

Syntax

Mark

  • Rename "errorBar" => "error-bar" for consistency with other properties.
  • Separate CompositeMark from (primitive) Mark …
    • Provide API for registering new type of composite marks with a normalizer method

Encoding

  • Add stack to x and y encoding channel
  • Add format for text encoding channel + remove config.text.format

Scale / Axis / Legend

  • Add new axis properties: labelPadding, position, titlePadding, maxExtent, minExtent
  • Add new legend properties: entryPadding, tickCount, zindex, titlePadding
  • Add new scale properties: interpolate

Other Config

  • Rename config.mark.stacked toconfig.stack
  • Add scale range config to match Vega config
  • Remove config.text.applyColorToBackground, which adds background to text mark.

Composition

  • Make layer operator singular (layer), not plural (layers) -- to be consistent with facet, repeat, and concat.

Output

  • Add mark role to the output so that we can leverage Vega mark's role config for Vega-Lite marks that are not Vega marks (bar, tick, point, circle, square)

Internal

  • Distinguish between Extended*Spec and *Spec, which both implement Generic*Spec, and between Mark and CompositeMark