[rrd-developers] Using a logarithmic scale on the x-axis?
Sebastian Harl
sh at tokkee.org
Thu Oct 1 23:44:10 CEST 2009
Hi Phil,
On Thu, Oct 01, 2009 at 05:02:17PM +0000, Philipp Marek wrote:
> in the documentation I found the option for a logarithmic y-axis.
>
> Now I wondered whether it's possible to get a logarithmic time scale - from "-1
> month" on the left side, over "-2 weeks", "-1 week", "-3 days", "-1 day", "-12
> hours", "-6 hours", "-3 hours", "-1 hour", "-30 min" and "-15 min" to "-5 min"
> as labels.
I guess, this is meant to be an example only, right? Hard-coding those
values does not make any sense, imho. If this is going to be
implemented, I think it would make sense to calculate a "reasonable"
value (whatever that might be) for the largest step size from the
specified time span and determine the smallest step size from the
highest resolution RRA available for the end of the specified time span.
Calculating reasonable positions for tick marks (and labels) will
probably be quite tricky.
> I think that this could possibly provide a good overview, with more details for
> the just passed timespans.
Hrm … I cannot image that there are lots of people out there that are
able to make a lot of sense from a logarithmic time scale - at least,
I've never seen something like that before.
Anyway, this might be fun just for the sake of it even though (or maybe
just because) it's non-trivial ;-)
> Is that already implemented (but not documented), or could this be patched in?
So far, something like that has not been implemented.
HTH,
Sebastian
--
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20091001/f4dadd1f/attachment.pgp
More information about the rrd-developers
mailing list