code: function( width, height ){
  
              if ( width === undefined && height === undefined ){
                  width = this.container.offsetWidth;
                  height = this.container.offsetHeight;
              }
  
              this.width = width || 0;
              this.height = height || 0;
              // should be implemented in renderers
          }
docs: Renderer#resize( [width, height] ) -> this
  - width (Number): The width in px
  - height (Number): The height in px
  
  Set the dimensions of the renderer.
  
  If no dimensions are specified it will auto resize.