setSize abstract method
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]);