v2.0.0-alpha.2
Pre-release
Pre-release
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
tox
andy
encoding channel - Add
format
fortext
encoding channel + removeconfig.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 withfacet
,repeat
, andconcat
.
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 implementGeneric*Spec
, and betweenMark
andCompositeMark