grafana/public
Björn Rabenstein 7e8f4d0b0e Simplify adjustInterval (#21226)
Much easier to wrap one's head around it if it is expressed more
directly.

This is not mathematically the same as the previous version involved
more rounding than necessary because of the way the intervalFactor was
handled. I'd argue the new version is better because it gets closer to
the 11,000 points limit and thus approaches better what the user
wanted within the limits of Prometheus.

Note that in practice, the 11,000 points limit should never be of
relevance. (Even a 4k screen doesn't have 11k points on the x axis.)

Signed-off-by: beorn7 <beorn@grafana.com>
2019-12-23 08:28:08 +01:00
..
app Simplify adjustInterval (#21226) 2019-12-23 08:28:08 +01:00
dashboards Permissions: Show plugins in nav for non admin users but hide plugin configuration (#18234) 2019-07-25 16:54:26 +02:00
e2e-test Tests: Skipping Template Variable tests for now (#20707) 2019-11-27 16:01:39 +01:00
e2e-tests e2e: Migrates query variable CRUD tests to new framework (#21146) 2019-12-18 06:13:58 +01:00
emails Emails: Update notification templates (#19662) 2019-10-31 10:33:33 -07:00
fonts Chore: fix modes for non-executable files (#16864) 2019-05-03 09:51:53 +02:00
img Styles: fixed gradient in logo so it doesn't go outside the logo and get a defined start and end color, changed brand gradient to be the same as in logo, created new variable for vertical gradient (#18882) 2019-09-04 11:28:35 +02:00
sass Sass: Checked in tmpl files 2019-12-23 07:22:44 +01:00
test Chore/Tech debt: Remove (most) instances of $q angular service use (#20668) 2019-12-05 09:04:03 +00:00
vendor Fix flot overriding onselectstart/ondrag events (#20381) 2019-11-15 09:21:45 +01:00
views Echo: mechanism for collecting custom events lazily (#20365) 2019-12-05 08:30:39 +01:00
robots.txt add support for robots.txt file 2015-06-15 19:02:38 -04:00