setOnCursor method

VlChart setOnCursor(
  1. String key,
  2. VlJson value
)

Implementation

VlChart setOnCursor(String key, VlJson value) {
  if ( cursor.length == 0 ) {
    this.error("a channel property was set before any channel was named");
    return this;
  }
  VlJson ch = enc._get(cursor);
  ch.setMember(key, value);
  return this;
}