Skip to content

Releases: vega/vega-lite

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

26 Aug 23:01
Compare
Choose a tag to compare

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

v1.1.3 Allow spaces and dashes in field names

11 Aug 18:22
Compare
Choose a tag to compare
  • Allow spaces and dashes in field names (#1492) – Thanks @willium.

Internal

  • Move getFilterExpression method from src/compile/data/filter.ts to src/filter.ts as expression (#1498)

v1.1.2

07 Aug 20:14
Compare
Choose a tag to compare

Correct scale.domain schema: it can only be a number[] or string[], but not string.

v1.1.1

30 Jul 16:27
Compare
Choose a tag to compare

Fixes

  • Fix broken horizontal area chart

v1.1.0 Filter Definition Object

30 Jul 16:22
Compare
Choose a tag to compare

Syntax Change

  • Introducing filter objects with equal, range and in operators with support for filtering time units (For more information, please see transform.md)
  • Rename transform's filterNull to filterInvalid since we also filter NaN values (#1475)
    • filterNull is still supported for backward compatibility but is no longer included in the JSON schema.
  • cleanup mistakes in timeUnit schema
    • Correct yearmonthday to yearmonthdate in the schema
    • Remove YEARMONTHDAY, YEARDATE and YEARDAY time units as the output from transformation are not temporal values anymore, which violate temporal type semantic. If you really need these transformation, please use transform.calculate to manually derive these fields.

Fixes

  • Correctly implement log scale with bar (#1368)
  • Always fill symbol with transparent fill (#1316)
  • Do not set zero=true by default if user provides a custom scale domain (#1329)
  • Make legend support opacity channel (#1375)

Internal

  • Extract vl.timeUnit.defaultScaleType
  • Refactor vl.timeUnit.expression
    • rename expression to fieldExpr
    • take field as input instead
  • Refactor vl.timeUnit.TIMEUNITS
    • reorder vl.timeUnit.TIMEUNITS array to group by semantic
    • Add SINGLE_TIMEUNITS and MULTI_TIMEUNITS and isSingleTimeUnit and isMultiTimeUnit methods

v1.0.16

07 Jul 21:10
Compare
Choose a tag to compare

Add backward compatibility support for deprecated formatType. Thanks @adam-iris for reporting.

v1.0.15

06 Jul 22:37
Compare
Choose a tag to compare

API

  • Fix incorrect path for the import in v1.0.14

Syntax

  • add config.countTitle

v1.0.14

06 Jul 21:32
Compare
Choose a tag to compare

API

Export all top-level files under src/ as a part of vl.ts 69ff827, 6eb4e1d

v1.0.13

06 Jul 23:16
Compare
Choose a tag to compare

Syntax

  • Add data.format properties – thanks @bobocandys
    • DEPRECATED data.formatType in favor of data.format.type

Helper API

  • Extract vl.spec.stack method for external use and add test
  • Rename vl.spec.isStack to vl.spec.isStacked

Fixes

  • Remove default legend.offset = 0. (Set to undefined and use Vega's default.)
  • Fix incorrect binned stacked area #1422
  • Remove the hard code default legend offset 0
  • Add overlay line, area (See 7da5591 and 292bd6f)
    • Make connected scatterplots have overlay
  • Add quarter to timeUnit for (#1305) – thanks @bobocandys
  • Change default opacity for area to 0.7

Docs

  • Split spec page from overview

Experimental Code

  • Merged Prototype of Ranged mark #1382

v1.0.12

15 Jun 19:50
Compare
Choose a tag to compare
  • Update description in JSON schema
  • Also Filter NaN values #1416