setSize abstract method

void setSize([
  1. num width,
  2. num height,
  3. AnimationOptions animation
])

Resize the chart to a given width and height. In order to set the width only, the height argument may be skipped. To set the height only, pass undefined for the width.

Implementation

void setSize([num width, num height, AnimationOptions animation]);