-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start datum encoding. #4201
Start datum encoding. #4201
Conversation
/** | ||
* A constant value in data domain. | ||
*/ | ||
datum: DatumValue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you have to support scale (and possibly guide)?
https://stackoverflow.com/questions/55015304/how-do-i-add-a-layer-in-a-shape-of-a-box-to-an-altair-plot suggests that having |
Once this is done, it's worth modifying the example in #5012 too. |
@@ -30,23 +30,37 @@ import {AggregatedFieldDef, WindowFieldDef} from './transform'; | |||
import {getFullName, QUANTITATIVE, Type} from './type'; | |||
import {contains, flatAccessWithDatum, getFirstDefined, replacePathInField, titlecase} from './util'; | |||
|
|||
type Value = number | string | boolean | null; | |||
type VisualValue = number | string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
value can be null too, why are you removing it?
-
Better not rename and keep it
Value
e31b0d5
to
35b6aed
Compare
will be replaced by #6150 |
Ref #1601
Starting point for someone to pick up.