size method

VlChart size(
  1. int width,
  2. int height
)

How big the plotting area is, in pixels.

width The width. height The height.

Returns This chart, so calls chain.

Implementation

VlChart size(int width, int height) {
  this.props.setMember("width", VlJson.intValue(width));
  this.props.setMember("height", VlJson.intValue(height));
  return this;
}