resize(width, height) {
    if (!animator.running(this)) {
      this._resize(width, height);
    } else {
      this._resizeBeforeDraw = {width, height};
    }
  }
Resize the chart to its container or to explicit dimensions.
@param {number} [width]
@param {number} [height]