MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Functions | Variables
jquery.flot.time.min.js File Reference

Functions

function dateGenerator (ts, opts)
 
function floorInBase (n, base)
 
function formatDate (d, fmt, monthNames, dayNames)
 
function init (plot)
 
function makeUtcWrapper (d)
 
plot plugins push ({init:init, options:options, name:"time", version:"1.0"})
 

Variables

var baseSpec =[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]]
 
plot formatDate =formatDate})(jQuery)
 
var specMonths =baseSpec.concat([[3,"month"],[6,"month"],[1,"year"]])
 
var specQuarters =baseSpec.concat([[1,"quarter"],[2,"quarter"],[1,"year"]])
 
var timeUnitSize ={second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3,month:30*24*60*60*1e3,quarter:3*30*24*60*60*1e3,year:365.2425*24*60*60*1e3}
 

Function Documentation

function dateGenerator (   ts,
  opts 
)
function floorInBase (   n,
  base 
)
function formatDate (   d,
  fmt,
  monthNames,
  dayNames 
)
function init (   plot)
function makeUtcWrapper (   d)
plot plugins push ( {init:init, options:options, name:"time", version:"1.0"}  )

Variable Documentation

var baseSpec =[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]]
plot formatDate =formatDate})(jQuery)
var specMonths =baseSpec.concat([[3,"month"],[6,"month"],[1,"year"]])
var specQuarters =baseSpec.concat([[1,"quarter"],[2,"quarter"],[1,"year"]])
var timeUnitSize ={second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3,month:30*24*60*60*1e3,quarter:3*30*24*60*60*1e3,year:365.2425*24*60*60*1e3}