Releases: gicentre/elm-vega
5.7.1
5.7.0
Minor release to support Vega 5.16 with new non-overlapping label placement.
Additions
trLabel
and associated methodslbAnchor
,lbAvoidMarks
,lbAvoidBaseMark
,lbLineAnchor
,lbMarkIndex
,lbMethod
,lbOffset
,lbPadding
,lbSort
andlbAs
for non-overlapping label placement (Vega 5.16).
Other changes
- Switch iris examples to penguin examples in test gallery.
- Add calendar example to test gallery.
5.6.1
Patch release that uses main
rather than master
GitHub branch. See github.com/github/renaming
5.6.0
Minor release exposing convenience functions and internal refactoring to align with Vega 5.15.
V5.6 Additions
blendModeValue
convenience function for typesafe blend mode specification.strList
for mixed string lists (e.g. string literals and signals).
V5.6 Bug Fixes
cuNWSEResize
now specifies the correct resizing cursor.
5.5.1
Patch release with updated data sources and bug fix for empty mark property lists
Bug Fixes
- Empty mark properties now generate null values rather than empty objects for schema compatibility.
Other changes
-
Use versioned Vega data sets for examples and tests.
-
Replaced iris with penguin dataset in examples.
5.5.0
Minor release supporting versions up to and including Vega 5.13.x
Additions
-
cfeGlobalCursor
for setting global or local cursor properties (V5.13) -
cfLocale
and associated propertiesloDecimal
,loThousands
,loGrouping
,loCurrency
,loNumerals
,loPercent
,loMinus
,loNan
,loDateTime
,loDate
,loTime
,loPeriods
,loDays
,loShortDays
,loMonths
andloShortMonths
for specifying locales (V5.12).
dayOfYear
time unit (V5.11).
axDomainCap
,axGridCap
andaxTickCap
with convenience functionstrokeCapStr
for axis line cap styling (V5.11).
axAria
,leAria
,mAria
with associated propertiesarEnable
,arDisable
andarDescription
for setting ARIA support on a per axis/legend/mark basis (V5.11).
tiAria
for setting/unsetting ARIA description from title (V5.11).
maBlend
and associated convenience methodsbmLighten
,bmDarken
etc.) for setting the blend mode for overlaying drawing (V5.10).
vaLineTop
andvaLineBottom
for vertical alignment relative to line height (V5.10).
axLabelLineHeight
for multi-lined or line-aligned axis labels (V5.10).
axLabelOffset
for displacing axis labels relative to tick marks (V5.10).
widthSignal
,heightSignal
andpaddingSignal
to allow dimensions and padding to be specified via signal expressions that are used as theupdate
property (V5.10).
cfPadding
,cfPaddings
andcfPaddingSignal
for configuring default padding (V5.10).
cfWidth
,cfWidthSignal
,cfHeight
andcfHeightSignal
for configuring default dimensions (V5.10).
cfDescription
for configuring default ARIA-friendly description for visualizations (V5.10).
cfLineBreak
for setting default line break character(s) (V5.10).
opProduct
for aggregation of numeric values by their product (V5.10).
5.4.0
Minor release supporting Vega releases 5.8 and 5.9.
Additions
New transforms
trTimeUnit
transform and associated time binning parameterisation functionstbUnits
,tbStep
,tbTimezone
,tzLocal
,tzUtc
,tzSignal
,tbInterval
,tbExtent
,dtMillis
,dtExpr
,tbMaxBins
,tbSignal
, andtbAs
.quarter
anddate
added as time units.trKde2d
two-dimensional (raster) density estimation transform and its associated parameterisation functionskd2Weight
,kd2CellSize
,kd2Bandwidth
,kd2Counts
andkd2As
.trIsocontour
transform and associated property functionsicField
,icThresholds
,icLevels
,icNice
,icResolve
,icZero
,icSmooth
,icScale
icTranslate
andicAs
for more flexible contouring.trHeatmap
transform and associated property functionshmField
,hmColor
,hmOpacity
,hmResolve
andhmAs
trFlattenWithIndex
andtrFlattenWithIndexAs
for nested array flattening that output the array index of flattened data.
New properties
axTickBand
for aligning ticks on band scales (Vega 5.8).axTranslate
for moving axes relative to main plot area (Vega 5.8).axFormatAsTemporalUtc
for UTC formatting (Vega 5.8).leFormatAsTemporalUtc
for UTC formatting (Vega 5.8).bnInterval
for specifying whether or not both bin boundaries are output in bin transform (Vega 5.8).maCornerRadiusTopLeft
,maCornerRadiusTopRight
,maCornerRadiusBottomLeft
andmaCornerRadiusBottomRight
for use withrect
andgroup
marks (Vega 5.8).maScaleX
andmaScaleY
topath
mark properties (maAngle
for path marks now rotates path although no changes to API) (Vega 5.8).maSmooth
added toimage
mark properties (Vega 5.8).maImage
for dynamically created image marks added toimage
mark properties (Vega 5.8).maStrokeForeground
for overlaying group stroke over content (Vega 5.9).maStrokeOffset
for shifting group stroke and fill (Vega 5.9).mollweide
map projection (Vega 5.9).inLabels
for providing input element labels that may differ from their option values (Vega 5.9).
Bug Fixes
- correct
tiFrame
output that was previously generating 'fame' output.
Deprecations
trContour
and its associatedcn
property functions are now deprecated in favour oftrIsocontour
(Vega 5.8)
Other Changes
- Additional tests and gallery examples to reflect new additions.
- Internal refactoring of time unit handling.
5.3.0
Minor release supporting Vega 5.7.
Additions
- Multi-line titles and spacing (
tiLineHeight
,axTitleLineHeight
,leTitleLineHeight
). - Subtitles and associated customisation (
tiSubtitle
,tiSubtitleColor
,tiSubtitleFont
,tiSubtitleFontSize
,tiSubtitleFontStyle
,tiSubtitleFontWeight
,tiSubtitleLineHeight
andtiSubtitlePadding
). tiEncodeElements
and associatedteTitle
,teSubtitle
andteGroup
for dynamic customization of title elements.maLineBreak
andmaLineHeight
for multi-line text marks.- Legend symbol limit (
leSymbolLimit
). trDotBin
transform and associated property functions (dbroupBy
,dbStep
,dbSmooth
,dbSignal
,dbAs
) for dotplot binning.trQuantile
transform and associated property functions (quGroupBy
,quProbs
,quStep
,quAs
) for quantile generation.
Deprecations
tiEncode
deprecated in favour oftiEncodeElements
.
Other Changes
- Restructured API documentation to use better thematic grouping of functions with tables of contents.
- Documentation indicates titles can span multiple lines via a
strs
array. - Some additions to the test gallery for new distribution transformations (dotplot, quantile plot).
5.2.0
Minor release supporting Vega 5.6 and adding some previously missing functions.
Additions
kdResolve
and associatedreShared
andreIndependent
functions for resolving multiple densities in a KDE transform.bnSpan
for setting the span over which bins are calculated.equalEarth
core map projection added.identityProjection
and associatedreflectX
andreflectY
map projection functions added.leBorderStrokeDash
for configuring legend border dash style.cfSignals
for supporting configuration signals (Vega 5.5).cfEventHandling
and associatedcfe
functions for more flexible Vega 5.5 event configuration.description
top-level metadata option (previously inadvertently hidden).userMeta
top-level custom metadata options.
Deprecations
cfEvents
deprecated in favour ofcfEventHandling [cfeDefaults ...]
Bug Fixes
cfGroup
mark properties now correctly creates literals rather than objects (e.g."fill": "#eee"
rather than"fill":{"value":"#eee"}
).
Other Changes
- Minor improvements to the API documentation.
- Update examples to use Vega-embed 5 and Vega 5.5 runtimes
- Minor additions to tests.
5.1.0
Updates to align with Vega 5.4.
Additions
- top level legend positioning with
leX
andleY
. - interior and exterior filtering of topoJson meshes (
topojsonMeshInterior
andtopojsonMeshExterior
) dnMinSteps
anddnMaxSteps
added totrDensity
options- new
trKde
transform for 1-d KDE from a distribution. - new
trRegression
transformation function. - new
trLoess
locally estimated regression function - new
vGradient
andvGradientScale
functions for setting gradient fills/strokes. - previous and next value window value operations (
woPrevValue
andwoNextValue
) - arrow file format indicator (
arrow
) for loading binary apache arrow files.
Documentation / Asset Changes
- Regression examples added to gallery
- Tests for new functions