Releases: vega/vega-lite
Releases · vega/vega-lite
v1.2.0 Top-level Width & Height, Ordinal Fit Scale, and Spaces in Field Names
Syntax
- Support Top-level Width & Height, Ordinal Fit Scale
- Add top-level
width
andheight
. - Support
scale.bandSize
="fit"
- Make
padding
only for band ordinal scale (whenbandSize
="fit"
) - [See Documentation here](
- Add top-level
- Fix bugs in
filterInvalid
- Only add
NaN
filter for quantitative and temporal fields - Don't add filters for
*
(of count fields)
- Only add
- Support custom shapes -- Thanks @mprudhom
- Rename
in
operator in filter tooneOf
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 withzero = 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 inspec.ts
v1.1.3 Allow spaces and dashes in field names
v1.1.2
v1.1.1
v1.1.0 Filter Definition Object
Syntax Change
- Introducing
filter
objects withequal
,range
andin
operators with support for filtering time units (For more information, please see transform.md) - Rename
transform
'sfilterNull
tofilterInvalid
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
toyearmonthdate
in the schema - Remove
YEARMONTHDAY
,YEARDATE
andYEARDAY
time units as the output from transformation are not temporal values anymore, which violate temporal type semantic. If you really need these transformation, please usetransform.calculate
to manually derive these fields.
- Correct
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
tofieldExpr
- take
field
as input instead
- rename
- Refactor
vl.timeUnit.TIMEUNITS
- reorder vl.timeUnit.TIMEUNITS array to group by semantic
- Add
SINGLE_TIMEUNITS
andMULTI_TIMEUNITS
andisSingleTimeUnit
andisMultiTimeUnit
methods
v1.0.16
Add backward compatibility support for deprecated formatType
. Thanks @adam-iris for reporting.
v1.0.15
v1.0.14
v1.0.13
Syntax
- Add
data.format
properties – thanks @bobocandys- DEPRECATED
data.formatType
in favor ofdata.format.type
- DEPRECATED
Helper API
- Extract
vl.spec.stack
method for external use and add test - Rename
vl.spec.isStack
tovl.spec.isStacked
Fixes
- Remove default
legend.offset
=0
. (Set toundefined
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