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
"labelAlign": {
"anyOf": [
{
"$ref": "#/definitions/Align",
"description": "Horizontal text alignment of axis tick labels, overriding the default setting for the current axis orientation."
},
{
"$ref": "#/definitions/ConditionalAxisNumber"
}
]
},
I didn't expect the conditional number, but rather something like ConditionalAxisLabelAlign - although this particular definition doesn't exist, I base the name on the labelBaseline rule:
"labelBaseline": {
"anyOf": [
{
"$ref": "#/definitions/TextBaseline",
"description": "Vertical text baseline of axis tick labels, overriding the default setting for the current axis orientation. Can be `\"top\"`, `\"middle\"`, `\"bottom\"`, or `\"alphabetic\"`."
},
{
"$ref": "#/definitions/ConditionalAxisLabelBaseline"
}
]
},
It it is indeed meant to be a number, how do I interpret it? Thanks.
The text was updated successfully, but these errors were encountered:
AxisProperty has gained the AxDataCondition constructor for
marking a subset of axis properties as being conditional on their
position, and the ConditionalAxisProperty for defining which
properties (grid, label, and tick) can be used in this way.
This excludes the label alignment from the conditional axis
properties since (in Vega-Lite 4.0.2) it looks like when using
a conditional you should use numbers rather than strings, which
I take to be an error in the schema: see my question at
vega/vega-lite#5717
In version 4.0.2 of the Vega-Lite spec I see
I didn't expect the conditional number, but rather something like
ConditionalAxisLabelAlign
- although this particular definition doesn't exist, I base the name on thelabelBaseline
rule:It it is indeed meant to be a number, how do I interpret it? Thanks.
The text was updated successfully, but these errors were encountered: