|
|
@@ -119,10 +119,14 @@ function($, _) {
|
|
|
s: 1
|
|
|
};
|
|
|
|
|
|
- kbn.calculateInterval = function(range, resolution, userInterval) {
|
|
|
+ kbn.calculateInterval = function(range, resolution, userInterval, lowLimit) {
|
|
|
var lowLimitMs = 1; // 1 millisecond default low limit
|
|
|
var intervalMs, lowLimitInterval;
|
|
|
|
|
|
+ if(lowLimit) {
|
|
|
+ lowLimitMs = kbn.interval_to_ms(lowLimit);
|
|
|
+ }
|
|
|
+
|
|
|
if (userInterval) {
|
|
|
if (userInterval[0] === '>') {
|
|
|
lowLimitInterval = userInterval.slice(1);
|