Commit 58034c24 by Torkel Ödegaard

Merge remote-tracking branch 'origin/master' into develop

parents af9dc4c2 1ac9b50f
......@@ -370,10 +370,11 @@ function (angular, $, kbn, moment, _, GraphTooltip) {
if (min && max && ticks) {
var secPerTick = ((max - min) / ticks) / 1000;
console.log('secPerTick', secPerTick);
if (secPerTick <= 45) {
return "%H:%M:%S";
}
if (secPerTick <= 3600) {
if (secPerTick <= 7200) {
return "%H:%M";
}
if (secPerTick <= 80000) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment