The caption for the encoding. Will be rendered as the legend group caption.
The encoding channel. Can be either "color" or "size"
An optional data object that is referenced by this encoding.
The slot that this encoding is assigned to.
An optional sub caption for the encoding.
The type of the encoding, either "cat" or "cont".
Encoding base class. Subclassed by CatEncoding and ContEncoding. If you are going to override RenderBase.updateLegend, then you are expected to return an array of
Encoding
instances. Each encoding represents a legend group.