Home
last modified time | relevance | path

Searched refs:timeUnitSize (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.time.min.js7timeUnitSize={second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3,month:30*24*60*60*1e3,quart… variable
Djquery.flot.time.js164 var timeUnitSize = { variable
222 minSize = opts.minTickSize[0] * timeUnitSize[opts.minTickSize[1]];
227 if (axis.delta < (spec[i][0] * timeUnitSize[spec[i][1]]
228 + spec[i + 1][0] * timeUnitSize[spec[i + 1][1]]) / 2
229 && spec[i][0] * timeUnitSize[spec[i][1]] >= minSize) {
248 var magn = Math.pow(10, Math.floor(Math.log(axis.delta / timeUnitSize.year) / Math.LN10));
249 var norm = (axis.delta / timeUnitSize.year) / magn;
275 var step = tickSize * timeUnitSize[unit];
296 if (step >= timeUnitSize.minute) {
299 if (step >= timeUnitSize.hour) {
[all …]