vega-lite-api

vl.encoding(encoding)

A reference to an encoding channel.

encoding Method Overview

encoding API Reference

# encoding.order(encoding)

Indicates a sort order for encoded values. One of "ascending" or "descending".