code: function(x, y) {
          if (!this.inValidRange(x, y, true)) {
              return false;
          } else {
              var transformString = "";
              if (x || y) {
                  transformString = "translate(" + x + "," + y + ")";
              }
              this.root.setAttributeNS(null, "transform", transformString);
              this.translationParameters = {x: x, y: y};
              return true;
          }
      }
docs: Method: translate
  Transforms the SVG coordinate system
  
  Parameters:
  x - {Float}
  y - {Float}
  
  Returns:
  {Boolean} true if the translation parameters are in the valid coordinates
  range, false otherwise.