Skip to content

v4.0.0

Compare
Choose a tag to compare
@kanitw kanitw released this 07 Dec 01:17
· 2199 commits to master since this release

New Features (and Examples)

Interactivity

smooth-histogram

Transforms

Visual Encodings

image

image

image

  • add "fit-x" and "fit-y" for autosize (#5224) -- Thanks @willium

  • add band property for position field def (#5206) (b4dd9ac)

  • make timeUnit for bar/rect behaves more like bin (#5096)

  • support axis/legend labelExpr

Syntax Improvement

Visual Encodings & Configs

  • other BREAKING CHANGES in config:
    • replace config.invalidValues with mark.invalid for mark definition and config (#5084)

    • remove config.stack, which is unnecessary

    • remove config.scale.bar/rectBandPaddingOuter, which are unnecessary

Style Change

  • Improve time unit formats - Thanks @haldenl

    • BREAKING CHANGE: remove support for shortTimeLabel in axis/legend as we now use short format by default
  • change default 1D bar size without scale to 18 (#5082)

  • Make axes appear below marks by default

  • Make geoshape with graticule data source unfilled (stroked) by default

More details: v3.4.0...v4.0.0