propJson method

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

Sets any top-level property of the specification.

key The property name. value The value.

Returns This chart, so calls chain.

Implementation

VlChart propJson(String key, VlJson value) {
  this.props.setMember(key, value);
  return this;
}