Searched refs:timeUnitSize (Results 1 – 2 of 2) sorted by relevance
7 …timeUnitSize={second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3,month:30*24*60*60*1e3,quart… variable
164 var timeUnitSize = { variable222 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]]) / 2229 && 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 …]