
My legends config is simply:
"legends": [
{
"title":"Type",
"stroke":"color",
"fill":"color",
"orient": "right"
}
]
I looked at https://vega.github.io/vega/docs/legends/ but could not figure it out. The documentation is very hard to follow if you do not have enough familiarity with vega.
I saw that the documentation says "Allows custom layout by setting thexandyproperties within alegendencoding block."
But I could not work out how or where to add x and y properties and there is no example of this given.
Thanks