Skip Menu |

This queue is for tickets about the RRD-Simple CPAN distribution.

Report information
The Basics
Id: 30058
Status: open
Priority: 0/
Queue: RRD-Simple

People
Owner: Nobody in particular
Requestors: adrian_gh.popa [...] romtelecom.ro
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Feature request -> extended_legend
Date: Wed, 17 Oct 2007 16:49:57 +0300
To: bug-RRD-Simple [...] rt.cpan.org
From: Adrian Popa <adrian_gh.popa [...] romtelecom.ro>
Hello, This is not a bug, it's a feature request: If in a graph, I select 'extended_legend', I get the legend with a decimal precision of 10 decimals (before the decimal separator). I wonder if this is ever usefull. Wouldn't it be more useful to use K,M,G instead? It certainly is more readable. So, my request is to modify Simple.pm from: # New for version 1.35 if ($extended_legend) { if ($RRDs::VERSION >= 1.2) { # Moved the VDEFs to the block of code above which is # always run, regardless of the extended legend push @cmd, sprintf('GPRINT:%sMIN: min\:%%10.2lf\g',$ds); push @cmd, sprintf('GPRINT:%sMAX: max\:%%10.2lf\g',$ds); push @cmd, sprintf('GPRINT:%sLAST: last\:%%10.2lf\l',$ds); } else { push @cmd, sprintf('GPRINT:%s:MIN: min\:%%10.2lf\g',$ds); push @cmd, sprintf('GPRINT:%s:MAX: max\:%%10.2lf\g',$ds); push @cmd, sprintf('GPRINT:%s:LAST: last\:%%10.2lf\l',$ds); } } to... # New for version 1.35 if ($extended_legend) { if ($RRDs::VERSION >= 1.2) { # Moved the VDEFs to the block of code above which is # always run, regardless of the extended legend push @cmd, sprintf('GPRINT:%sMIN: min\:%%3.2lf\g',$ds); push @cmd, sprintf('GPRINT:%sMAX: max\:%%3.2lf\g',$ds); push @cmd, sprintf('GPRINT:%sLAST: last\:%%3.2lf\l',$ds); } else { push @cmd, sprintf('GPRINT:%s:MIN: min\:%%3.2lf\g',$ds); push @cmd, sprintf('GPRINT:%s:MAX: max\:%%3.2lf\g',$ds); push @cmd, sprintf('GPRINT:%s:LAST: last\:%%3.2lf\l',$ds); } } Thanks. -- Adrian Popa Junior Network Engineer Romtelecom S.A. Divizia Centrul National de Operare Retea Departament Transport IP & Metro Compartiment IP Core
I will look at improving this functionality in the next release of RRD::Simple. Thanks for the input. On Wed Oct 17 09:50:49 2007, adrian_gh.popa@romtelecom.ro wrote: Show quoted text
> Hello, > > This is not a bug, it's a feature request: > > If in a graph, I select 'extended_legend', I get the legend with a > decimal precision of 10 decimals (before the decimal separator). I > wonder if this is ever usefull. Wouldn't it be more useful to use K,M,G > instead? It certainly is more readable.
From: nicolaw [...] cpan.org
Apologies. I completely forgot to include this in the 1.44 release. I am planning on completing a number of TODOs on 1.45 in the next week or so, so I will ensure I don't forget. On Fri Dec 14 11:02:11 2007, NICOLAW wrote: Show quoted text
> I will look at improving this functionality in the next release of > RRD::Simple. Thanks for the input. > > On Wed Oct 17 09:50:49 2007, adrian_gh.popa@romtelecom.ro wrote:
> > Hello, > > > > This is not a bug, it's a feature request: > > > > If in a graph, I select 'extended_legend', I get the legend with a > > decimal precision of 10 decimals (before the decimal separator). I > > wonder if this is ever usefull. Wouldn't it be more useful to use K,M,G > > instead? It certainly is more readable.
Subject: Re: [rt.cpan.org #30058] Feature request -> extended_legend
Date: Thu, 24 Jan 2008 23:52:45 +0200
To: bug-RRD-Simple [...] rt.cpan.org
From: Adrian Popa <adrian_gh.popa [...] romtelecom.ro>
Don't worry, I can live with it working like this until version 1.45. Thank you for a good release! Nicola Worthington via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30058 > > > Apologies. I completely forgot to include this in the 1.44 release. I am > planning on completing a number of TODOs on 1.45 in the next week or so, > so I will ensure I don't forget. > > On Fri Dec 14 11:02:11 2007, NICOLAW wrote: >
>> I will look at improving this functionality in the next release of >> RRD::Simple. Thanks for the input. >> >> On Wed Oct 17 09:50:49 2007, adrian_gh.popa@romtelecom.ro wrote: >>
>>> Hello, >>> >>> This is not a bug, it's a feature request: >>> >>> If in a graph, I select 'extended_legend', I get the legend with a >>> decimal precision of 10 decimals (before the decimal separator). I >>> wonder if this is ever usefull. Wouldn't it be more useful to use K,M,G >>> instead? It certainly is more readable. >>>
> > >
-- Adrian Popa Junior Network Engineer Romtelecom S.A. Divizia Centrul National de Operare Retea Departament Transport IP & Metro Compartiment IP Core