flotr2.nolibs.js
function(s, method, args){
    var
      success = false,
      options;

    if (!_.isArray(s)) s = [s];

    function e(s, index) {
      _.each(_.keys(flotr.graphTypes), function (type) {
        if (s[type] && s[type].show && !s.hide && this[type][method]) {
          options = this.getOptions(s, type);

          options.fill = !!s.mouse.fillColor;
          options.fillStyle = this.processColor(s.mouse.fillColor || '#ffffff', {opacity: s.mouse.fillOpacity});
          options.color = s.mouse.lineColor;
          options.context = this.octx;
          options.index = index;

          if (args) options.args = args;
          this[type][method].call(this[type], options);
          success = true;
        }
      }, this);
    }
    _.each(s, e, this);

    return success;
  }
function(s, method, args){
    var
      success = false,
      options;

    if (!_.isArray(s)) s = [s];

    function e(s, index) {
      _.each(_.keys(flotr.graphTypes), function (type) {
        if (s[type] && s[type].show && !s.hide && this[type][method]) {
          options = this.getOptions(s, type);

          options.fill = !!s.mouse.fillColor;
          options.fillStyle = this.processColor(s.mouse.fillColor || '#ffffff', {opacity: s.mouse.fillOpacity});
          options.color = s.mouse.lineColor;
          options.context = this.octx;
          options.index = index;

          if (args) options.args = args;
          this[type][method].call(this[type], options);
          success = true;
        }
      }, this);
    }
    _.each(s, e, this);

    return success;
  }
function ( s , method , args ) { var success = false , options ; if ( ! _ . isArray ( s ) ) s = [ s ] ; function e ( s , index ) { _ . each ( _ . keys ( flotr . graphTypes ) , function ( type ) { if ( s [ type ] && s [ type ] . show && ! s . hide && this [ type ] [ method ] ) { options = this . getOptions ( s , type ) ; options . fill = ! ! s . mouse . fillColor ; options . fillStyle = this . processColor ( s . mouse . fillColor || '#ffffff' , { opacity : s . mouse . fillOpacity } ) ; options . color = s . mouse . lineColor ; options . context = this . octx ; options . index = index ; if ( args ) options . args = args ; this [ type ] [ method ] . call ( this [ type ] , options ) ; success = true ; } } , this ) ; } _ . each ( s , e , this ) ; return success ; }
Try a method on a graph type.  If the method exists, execute it.
@param {Object} series
@param {String} method  Method name.
@param {Array} args  Arguments applied to method.
@return executed successfully or failed.
Try a method on a graph type . If the method exists execute it .