code: function(types, obj) {
        types = $.splat(types);
        for(var attr in obj) {
          for(var i=0, val = $.splat(obj[attr]), l=types.length; i<l; i++) {
            this.setCanvasStyle(attr, val[i], types[i]);
          }
        }
      }
docs: /*
  Method: setCanvasStyles
  
  Convenience method to set multiple styles at once.
  
  Parameters:
  
  types - (array|string) A set of 'current', 'end' or 'start' values.
  obj - (object) A hash containing the names and values of the properties to be altered.
  
  See also:
  
  <Accessors.setDataset>.