hvega-0.7.0.0: tests/specs/config/breaklinecfg.vl
{
"config": {
"lineBreak": "X"
},
"mark": "text",
"data": {
"values": [
{
"l": "xXx",
"x": 5,
"y": 10
},
{
"l": "x x",
"x": 10,
"y": 5
},
{
"l": "xxXxXxx",
"x": 15,
"y": 30
}
]
},
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"encoding": {
"text": {
"field": "l",
"type": "nominal"
},
"x": {
"field": "x",
"type": "quantitative"
},
"y": {
"field": "y",
"type": "quantitative"
}
}
}