Aligns with Vega-Lite Version 5.21.
Additions
-
paNonReactfor creating a new non-reactive parameter from an existing named parameter. This provides a more concise way of usingreact: falseintroduced in VL 5.20. -
doRawExprfor explicitly setting adomainRawexpression. Used for modifying an existing domain via some expression. Typically used to set domain values based on some interaction input. -
maInvalidand associated parameter functionsivImputeMark,ivImputeDomain,ivImputePathDomainandivBreakPathsfor precise control over the filtering / imputing of invalid data when encoding marks and generating domains. This replaces the oldmaRemoveInvalidreflecting changes toinvalidintroduced in VL 5.19 -
sacoInvalidfor providing custom values for imputed invalid data on a channel-by-channel basis, reflecting addition in VL 5.19
Changes
scDomainExprnow creates a Vega-Litedomainexpression rather thandomainRawexpression. 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 wheredomainRawis needed, use the newdoRawExprfunction.
Deprecations
maRemoveInvalidnow deprecated in favour ofmaInvalid. This reflects changes in VL5.19 allowing more precise handling of invalid data items for path marks and domains.maRemoveInvalid Trueshould be replaced withmaInvalid []andmaRemoveInvalid Falsereplaced withmaInvalid [ ivImputeMark ]