code: function(width, height) {
          // XXX this should subtract the axis widths...
  
          var MIN_PIXELS_PER_POINT = 2;
          var limit = this._attributes.downsample ? width / MIN_PIXELS_PER_POINT : Infinity;
          this.chart.set_downsample_limit(limit);
          _.each(this.dataTargets, function(target) {
              target.set_downsample_limit(limit);
          } );
  
          this.chart.resize(width, height);
  
          this.legend.resize(width, height);
  
          if (this.contextChart) {
              this.contextChart.resize(width);
          }
      }
docs: the guts of setDimensions(), just honors the given width and height, no monkey business.