flotr2.nolibs.js
function(series) {
    var ctx = this.ctx,
      bw = series.gantt.barWidth,
      lw = Math.min(series.gantt.lineWidth, bw);
    
    ctx.save();
    ctx.translate(this.plotOffset.left, this.plotOffset.top);
    ctx.lineJoin = 'miter';

    /**
     * @todo linewidth not interpreted the right way.
     */
    ctx.lineWidth = lw;
    ctx.strokeStyle = series.color;
    
    ctx.save();
    this.gantt.plotShadows(series, bw, 0, series.gantt.fill);
    ctx.restore();
    
    if(series.gantt.fill){
      var color = series.gantt.fillColor || series.color;
      ctx.fillStyle = this.processColor(color, {opacity: series.gantt.fillOpacity});
    }
    
    this.gantt.plot(series, bw, 0, series.gantt.fill);
    ctx.restore();
  }
function(series) {
    var ctx = this.ctx,
      bw = series.gantt.barWidth,
      lw = Math.min(series.gantt.lineWidth, bw);
    
    ctx.save();
    ctx.translate(this.plotOffset.left, this.plotOffset.top);
    ctx.lineJoin = 'miter';

    /**
     * @todo linewidth not interpreted the right way.
     */
    ctx.lineWidth = lw;
    ctx.strokeStyle = series.color;
    
    ctx.save();
    this.gantt.plotShadows(series, bw, 0, series.gantt.fill);
    ctx.restore();
    
    if(series.gantt.fill){
      var color = series.gantt.fillColor || series.color;
      ctx.fillStyle = this.processColor(color, {opacity: series.gantt.fillOpacity});
    }
    
    this.gantt.plot(series, bw, 0, series.gantt.fill);
    ctx.restore();
  }
function ( series ) { var ctx = this . ctx , bw = series . gantt . barWidth , lw = Math . min ( series . gantt . lineWidth , bw ) ; ctx . save ( ) ; ctx . translate ( this . plotOffset . left , this . plotOffset . top ) ; ctx . lineJoin = 'miter' ; /**
     * @todo linewidth not interpreted the right way.
     */ ctx . lineWidth = lw ; ctx . strokeStyle = series . color ; ctx . save ( ) ; this . gantt . plotShadows ( series , bw , 0 , series . gantt . fill ) ; ctx . restore ( ) ; if ( series . gantt . fill ) { var color = series . gantt . fillColor || series . color ; ctx . fillStyle = this . processColor ( color , { opacity : series . gantt . fillOpacity } ) ; } this . gantt . plot ( series , bw , 0 , series . gantt . fill ) ; ctx . restore ( ) ; }
Draws gantt series in the canvas element.
@param {Object} series - Series with options.gantt.show = true.
Draws gantt series in the canvas element .