Skip to content

v1.2.0 Top-level Width & Height, Ordinal Fit Scale, and Spaces in Field Names

Compare
Choose a tag to compare
@kanitw kanitw released this 26 Aug 23:01
· 6001 commits to master since this release

Syntax

  • Support Top-level Width & Height, Ordinal Fit Scale
    • Add top-level width and height.
    • Support scale.bandSize = "fit"
    • Make padding only for band ordinal scale (when bandSize = "fit")
    • [See Documentation here](
  • Fix bugs in filterInvalid
    • Only add NaN filter for quantitative and temporal fields
    • Don't add filters for * (of count fields)
  • Support custom shapes -- Thanks @mprudhom
  • Rename in operator in filter to oneOf to avoid using restrict names in other languages ("in" is still supported, but now deprecated from the JSON schema.)

Examples

  • Correct File Extensions to .vl.json, which is the new standard file extension.

Builds

  • Extract .js.map fiels from .js.

Fixes

  • Support Spaces in Field Names
  • Fix bar/area for log scale and scale with zero = false
  • Don't override shape/size symbol for shape/size legend
  • Correctly sort line chart when the dimension axis has sort property
  • Fix incorrect orientation for tick in dot-plot with continuous timeUnit

Internal API

  • Remove unused transpose method in spec.ts