When creating a faceted Vega Lite plot using the Scala library, I would like to be able to set the facets' header and sort properties to control the title and sort attributes of the facets.
The Vega Lite page is silent on the availability of the header and sort properties on the facet/row/column encoding channels though at least the header property is later used in the Grid Facet example on the same page, and the Vega Editor interprets both correctly.
I'll be happy to submit a PR if that seems useful.
When creating a faceted Vega Lite plot using the Scala library, I would like to be able to set the facets'
header
andsort
properties to control the title and sort attributes of the facets.For example, the following plot:
translates to the following column encoding channel:
What I am missing is the ability to additionally express:
The Vega Lite page is silent on the availability of the
header
andsort
properties on the facet/row/column encoding channels though at least theheader
property is later used in the Grid Facet example on the same page, and the Vega Editor interprets both correctly.I'll be happy to submit a PR if that seems useful.