heading method

VlChart heading(
  1. String text
)

The chart's title, drawn above the plot.

text The title.

Returns This chart, so calls chain.

See also title.

Implementation

VlChart heading(String text) {
  this.props.setMember("title", VlJson.stringValue(text));
  return this;
}