encodeJson method
Sets a whole shared channel from an already-built definition.
channel The channel name.
definition The channel definition.
Returns This chart, so calls chain.
Implementation
VlChart encodeJson(String channel, VlJson definition) {
this.enc.setMember(channel, definition);
cursor = channel;
return this;
}