hi, the vega-lite Row & Column Encoding Channels is able to support the nested type field, but the kibana vega does not.
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"name": "temperature",
"values":[
{
"Name":"chevrolet chevelle malibu",
"Miles_per_Gallon":18,
"Cylinders":8,
"Displacement":307,
"Horsepower":130,
"Weight_in_lbs":3504,
"Acceleration":12,
"Year":"1970-01-01",
"Origin":{"Country": "USA"}
},
{
"Name":"buick skylark 320",
"Miles_per_Gallon":15,
"Cylinders":8,
"Displacement":350,
"Horsepower":165,
"Weight_in_lbs":3693,
"Acceleration":11.5,
"Year":"1970-01-01",
"Origin":{"Country": "EU"}
}
]
},
"mark": "bar",
"encoding": {
"x": {
"bin": {"maxbins": 15},
"field": "Horsepower",
"type": "quantitative"
},
"y": {"aggregate": "count", "type": "quantitative"},
"row": {"field": "Origin.Country", "type": "nominal"}
},
"config": {"axisY": {"minExtent": 30}}
}
and in the kibana vega, it shows error and can not access the field
after change to flat field, it works fine
BTW, the vega-lite tooltip also doesn't work in kibana-vega!