Releases: vega/vega-lite
Releases · vega/vega-lite
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
v1.0.12
v1.0.10
v1.0.9
Features
- Add new
opacity
channel #1336 – Thanks @YuhanLu - Additional axis and legend properties #1290, #1302 – Thanks @YuhanLu
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
- Table of Content – Thanks @willium
Examples
bubble_health_income
github_punchcard
trellis_anscombe
– Thanks @mcorrell
Experimental
Layer
operator for creating layered charts.
v1.0.8
Syntax
- Support
yearmonthdayhoursminutesseconds
Fixes
- Fix
vl2png
andvl2svg
– 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
tosrc/
- Move all
compile/mark-*.ts
tocompile/mark/*.ts
v0.9.3
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 settingaxis
tofalse
- Add axis properties:
- Mark
- revised rules for
bar
andarea
- revised rules for
- Channel
- add
path
channel forline
and removeconfig.sortLineBy
- support multiple
detail
fields (as array) #904 -
- add
- Time Unit
- Adds additional time units such as
yearmonth
,yearmonthday
,hoursminutes
, ... - Allow customization of time format.
- Adds additional time units such as
- Config
- add
config.scene
- make
config.nullFilter
a boolean property config.mark
- Support
config.stack.offset
=’normalize
- Add properties for hiding facet’s grid and docs for all
cell.grid
properties
- add
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
toSTACKED_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.
- Rename
- Faceting
- Replace
facet
transform withaggregate
transform for axes group - Apply
axis.grid
ofrow
andcolumn
to our customized grid built by a rule mark group instead of passing it to the row’s scale. Also remove the redundantconfig.cell.gridShow
. Fixes #943 - Apply
scale.padding
ofrow
andcolumn
to our cell padding layout calculation & remove the redundantconfig.cell.padding
. Fixes #917 - Set ROW and COLUMN’s padding to 0 if Y and X are not mapped respectively. Fixes #822
- Replace
- Time Unit
- Use timestamps internally for temporal data even if the data is being aggregated.
- When time unit is
month
,day
,hours
,minutes
, orseconds
, 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 beforeproperties
) - 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
andyc
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 withtick
andbar
mark – fixes #931 - avoid outputting both
bandWidth
andrange
#953