You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…valid data (e.g., nulls, NaNs) (#9342)
- Add more spec options for handling invalid data
- extend `mark.invalid`
- add new `config.scale.invalid`
- See [docs's pdf file from
invalid.md](https://github.com/vega/vega-lite/files/15329038/Modes.for.Handling.Invalid.Data._.Vega-Lite.pdf)
or the actual doc for explanation of the behavior. (Given the complexity
of the PR, reviewers should check out the branch and test the spec
locally.)
refactor:
- Adjust how we generate rules for invalid data to handle these options,
per channel type.
- data's invalid filter
- `defined` encoding (for breaking paths)
- Make wrapCondition accept invalidValueRef for "include" mode.
- Remove the hidden/screen "hide" mode for invalid data (Given this is a
hidden feature, it's not a breaking change.)## PR Description
bug fixes:
- fix#8254 -- correctly place invalid point as zero, when included.
Known issues / Follow up items:
- Tooltip doesn't show null correctly
(#6417) -- I'll fix this
separately in a follow up PR
- Should Vega-lite always include color for invalid by default?
(#9351)
## Checklist
Tests:
- [x] Integration tests -- added a bunch of examples
- [x] Unit tests (in progress) -- I'll re-review the code and add more
unit tests.
Docs:
- [x] Has documentation under `site/docs/` + examples.
---------
Co-authored-by: GitHub Actions Bot <vega-actions-bot@users.noreply.github.com>
Here is the repro.
It is supposed to place "Green" value at the bottom (the 0 value position (yScale(0)) not pure 0 position)
The text was updated successfully, but these errors were encountered: