Skip to content

Releases: vega/vega-lite

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

v1.0.10

25 May 09:35
b0f0196
Compare
Choose a tag to compare
  • Make a new release because the previous release was missing some files due to incorrect .npmignore
  • Fix Grid Option for faceted plots #1367
  • Remove -Properties suffix from Bin, Axis and Legend interface #1378

v1.0.9

18 May 05:24
Compare
Choose a tag to compare

Features

Fixes

  • Fix broken legend stroke color #1203
  • Fix bug tick orient inverted #1348
  • Disable default strokeDash for legend #1344
  • Make CellConfig.strokeDash an array #1313 – Thanks @mprudhom
  • Add tickSizeRange #1299 – Thanks @mprudhom
  • Make size channel stackable #1312
  • Read bandSize config if the scale does not exist #1286
  • Axis and legend properties should not be set if empty – Fix #1221 #1223

Internal

  • Refactor internal compile to treat facet as a compositional operator in preparation for other composition support
  • Export timeunit.format() for VgTooltip #1240
  • Export config #1227 – Thanks @mprudhom

Docs

Examples

  • bubble_health_income
  • github_punchcard
  • trellis_anscombe – Thanks @mcorrell

Experimental

  • Layer operator for creating layered charts.

v1.0.8

01 Mar 21:41
Compare
Choose a tag to compare

Syntax

  • Support yearmonthdayhoursminutesseconds

Fixes

  • Fix vl2png and vl2svg – Thanks @sampsyo
  • Correct strokeDashOffset schema – Thanks @mprudhom
  • Ensure that all output are valid Vega specifications based on Vega Schema – Thanks @mprudhom

Internal

  • Move interfaces from src/schema to src/
  • Move all compile/mark-*.ts to compile/mark/*.ts

v0.9.3

27 Jan 20:30
Compare
Choose a tag to compare

Syntax

  • Scale
    • remove scale and sort from detail and make sure there is no scale for detail in the output
    • remove points from ordinal scale #924
  • Axis
    • Add axis properties: labels, tickSizeMajor, tickSizeMinor, tickSizeEnd, values
    • rename shortTimeName => shortTimeLabel
    • allow hiding axis by setting axis to false
  • Mark
    • revised rules for bar and area
  • Channel
    • add path channel for line and remove config.sortLineBy
    • support multiple detail fields (as array) #904 -
  • Time Unit
    • Adds additional time units such as yearmonth, yearmonthday, hoursminutes, ...
    • Allow customization of time format.
  • Config
    • add config.scene
    • make config.nullFilter a boolean property
    • config.mark
      • rename config.marks => config.mark
      • add fill, fillOpacity, stroke, and strokeOpacity
      • add rules for config.marks.orient
      • make config.marks.filled applicable for bar and area #886
      • add thickness for tick mark and set to 1 by default #922, #933
    • Support config.stack.offset = ’normalize
    • Add properties for hiding facet’s grid and docs for all cell.grid properties

API

  • Change the main file to vl.js instead of the compiled file.
  • vl.schema.util.merge => vl.schema.util.mergeDeep

Output

  • Data
    • Rename STACKED to STACKED_SCALE to avoid confusion since the data source sums data for scale while the actual stack layout is applied inline.
    • Remove the unnecessary max calculation in STACKED_SCALE since scale would automatically calculate max anyway.
  • Faceting
    • Replace facet transform with aggregate transform for axes group
    • Apply axis.grid of row and column to our customized grid built by a rule mark group instead of passing it to the row’s scale. Also remove the redundant config.cell.gridShow. Fixes #943
    • Apply scale.padding of row and column to our cell padding layout calculation & remove the redundant config.cell.padding. Fixes #917
    • Set ROW and COLUMN’s padding to 0 if Y and X are not mapped respectively. Fixes #822
  • Time Unit
    • Use timestamps internally for temporal data even if the data is being aggregated.
    • When time unit is month, day, hours, minutes, or seconds, vl automatically adds missing points to the domain. Previously the domain was set directly. Now, vl creates a new data source.
  • Optimize order of Vega output (make sure that from comes before properties)
  • Add spec.name as prefix to mark group and scale’s name
  • Auto drop unsupported channel from the output spec
  • Make bin_range for bin_scale #879
  • Determine date, year, second, minute's scale type based on mark type and orientation.
    (For dimension channel of bar or tick mark, use ordinal scale. Otherwise, use linear scale.) #912
  • Add offset for vertical dot plot with tick
  • Use xc and yc for ticks so we don’t have to add offset

Bug Fixes

  • Ensure that transform in axes group are arrays + refactor
  • Support stacked charts with both detail and color #878
  • Correctly calculate total width/height and offset for trellis plot #880
  • Fix broken legend color + add stroke transparent #916
  • Apply mark config to legend as well #913
  • Make size.value works with tick and bar mark – fixes #931
  • avoid outputting both bandWidth and range #953

v0.9.2

07 Dec 23:28
Compare
Choose a tag to compare

Include typings/ which contains type declarations for imported modules.