hvega-0.6.0.0: tests/specs/gallery/label/baselines.vl
{
"config": {
"mark": {
"fontSize": 20
}
},
"data": {
"values": [
{
"x": 10,
"y": 10
},
{
"x": 20,
"y": 20
}
]
},
"concat": [
{
"mark": {
"type": "text",
"baseline": "top"
},
"title": "top",
"encoding": {
"text": {
"value": "Xxgq"
},
"x": {
"field": "x",
"scale": {
"domain": [
5,
25
],
"nice": false
},
"type": "quantitative",
"axis": {
"title": null
}
},
"y": {
"field": "y",
"scale": {
"domain": [
5,
25
],
"nice": false
},
"type": "quantitative",
"axis": {
"title": null
}
}
}
},
{
"mark": {
"type": "text",
"baseline": "middle"
},
"title": "middle",
"encoding": {
"text": {
"value": "Xxgq"
},
"x": {
"field": "x",
"scale": {
"domain": [
5,
25
],
"nice": false
},
"type": "quantitative",
"axis": {
"title": null
}
},
"y": {
"field": "y",
"scale": {
"domain": [
5,
25
],
"nice": false
},
"type": "quantitative",
"axis": {
"title": null
}
}
}
},
{
"mark": {
"type": "text",
"baseline": "alphabetic"
},
"title": "baseline",
"encoding": {
"text": {
"value": "Xxgq"
},
"x": {
"field": "x",
"scale": {
"domain": [
5,
25
],
"nice": false
},
"type": "quantitative",
"axis": {
"title": null
}
},
"y": {
"field": "y",
"scale": {
"domain": [
5,
25
],
"nice": false
},
"type": "quantitative",
"axis": {
"title": null
}
}
}
},
{
"mark": {
"type": "text",
"baseline": "bottom"
},
"title": "bottom",
"encoding": {
"text": {
"value": "Xxgq"
},
"x": {
"field": "x",
"scale": {
"domain": [
5,
25
],
"nice": false
},
"type": "quantitative",
"axis": {
"title": null
}
},
"y": {
"field": "y",
"scale": {
"domain": [
5,
25
],
"nice": false
},
"type": "quantitative",
"axis": {
"title": null
}
}
}
}
],
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"columns": 2
}