Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/13 12:50:42 (12 years ago)
Author:
pfleck
Message:

#2063:
Fixed timezone bug in chart data.
Fixed zooming bug in jqplot dateAxisRenderer.
Reformatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Scripts/jqPlot/plugins/jqplot.dateAxisRenderer.js

    r9617 r9644  
    340340        // ticks must be in order of increasing value.
    341341       
    342         min = ((this.min != null) ? new $.jsDate(this.min).getTime() : db.min);
    343         max = ((this.max != null) ? new $.jsDate(this.max).getTime() : db.max);
     342        min = new $.jsDate((this.min != null) ? this.min : db.min).getTime();
     343        max = new $.jsDate((this.max != null) ? this.max : db.max).getTime();
    344344
    345345        // see if we're zooming.  if we are, don't use the min and max we're given,
     
    448448                min = Math.floor(min/tempti) * tempti;
    449449                min = new $.jsDate(min);
    450                 min = min.getTime() + min.getUtcOffset();
     450                min = min.getTime();
    451451
    452452                nttarget = Math.ceil((max - min) / tempti) + 1;
Note: See TracChangeset for help on using the changeset viewer.