Open
Description
openedon Jun 8, 2019
{
"data": {
"values": [
{"name": "a", "val": 2, "highlight": 1,
"lower": 1.5,"upper": 2.5},
{"name": "c", "val": 1, "highlight": 0,
"lower": 0.5,"upper": 1.5},
{"name": "b", "val": 3, "highlight": 0,
"lower": 2.5,"upper": 3.5}
]
},
"layer": [
{
"mark": "bar",
"encoding": {
"y": {
"field": "name",
"type": "ordinal",
"sort": {"encoding": "x"}
},
"x": {"field": "val", "type": "quantitative"}
}
},
{
"mark": "rule",
"encoding": {
"x": {
"field": "upper",
"type": "quantitative",
"scale": {"zero": false}
},
"x2": {"field": "lower", "type": "quantitative"},
"y": {
"field": "name",
"type": "ordinal",
"sort": {"encoding": "x"}
}
}
}
]
}
This is discovered from experimenting with the example in this comment.
It seems like there are multiple underlying issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment