Skip to content

5.8.0

Latest

Choose a tag to compare

@jwoLondon jwoLondon released this 26 Sep 07:21
· 1 commit to main since this release

Aligns with Vega-Lite Version 5.21.

Additions

  • paNonReact for creating a new non-reactive parameter from an existing named parameter. This provides a more concise way of using react: false introduced in VL 5.20.

  • doRawExpr for explicitly setting a domainRaw expression. Used for modifying an existing domain via some expression. Typically used to set domain values based on some interaction input.

  • maInvalid and associated parameter functions ivImputeMark, ivImputeDomain, ivImputePathDomain and ivBreakPaths for precise control over the filtering / imputing of invalid data when encoding marks and generating domains. This replaces the old maRemoveInvalid reflecting changes to invalid introduced in VL 5.19

  • sacoInvalid for providing custom values for imputed invalid data on a channel-by-channel basis, reflecting addition in VL 5.19

Changes

  • scDomainExpr now creates a Vega-Lite domain expression rather than domainRaw expression. This isn't a change to the API, but rather the Vega-Lite output it generates and is consistent with expected behaviour for VL 5.20. For cases where domainRaw is needed, use the new doRawExpr function.

Deprecations

  • maRemoveInvalid now deprecated in favour of maInvalid. This reflects changes in VL5.19 allowing more precise handling of invalid data items for path marks and domains. maRemoveInvalid True should be replaced with maInvalid [] and maRemoveInvalid False replaced with maInvalid [ ivImputeMark ]