[Orca-users] Changing the x-axis

Daniel Bragion danielbragion at gmail.com
Wed Mar 25 13:35:47 PDT 2009


Hi!
I just want the labels to be: week 4, week 5, week 6.
Exactly the same of the example that you sent (
http://www.orcaware.com/orca/stats/procallator/procallator_gw.oware.com-monthly.html
).
In my version of the Orca (the last one), by default, it do the label in
days.
So, maybe a solution  would be get a old version of the Orca.

Thanks


2009/3/25 Cynthia Kiser <cnk at caltech.edu>

> I guess I am not clear on exactly what the original poster wanted. Is
> it an issue with the grid spacing in the monthly graphs? Or is it just
> that you want the labels to be: week 4, week 5, week 6, etc.? When
> looking at my stats, that is what I get by default (but I am running a
> very old version of Orcaware). That is also what I see in the example
> stats:
>
>
> http://www.orcaware.com/orca/stats/procallator/procallator_gw.oware.com-monthly.html
>
> Quoting David Michaels <dragon at raytheon.com>:
> > I assume when you say "x-axis is in <something>", you're talking about
> > the gridlines.  Technically speaking, the x-axis of all graphs is just a
> > compressed version of the x-axis of the raw data (usually 5 minute
> > intervals).  Here's a breakdown of gridline spacing for each of the
> graphs:
> >
> >    * Hourly = 5 minutes
> >    * Daily = 1 hour
> >    * Weekly = 4 hours
> >    * Monthly = 1 day
> >    * Quarterly = 1 week
> >    * Yearly = 1 month
> >
> > If you want the monthly graph to have gridline spacing of 1 week instead
> > of 1 day, you'd have to figure out a way to pass RRD a -x or --x-grid
> > option <http://rrdtool.mirroraty.org/doc/rrdgraph.en.html#IX_Axis>,
> > which is fairly complex.   Right now, I don't see an easy way to do this
> > -- Orca lets RRD determine the grid spacing automatically, so there is
> > no code in place to customize this behavior.  If such a feature were to
> > be developed, the place to code it would be in the
> > perl/Orca/ImageFile.pm file, and the place to configure it would be in
> > orcallator.cfg.
> >
> > --Dragon
> >
> > Daniel Bragion wrote:
> > >Hi !!
> > >The Orca makes, by default, the daily_graph with the x-axis in hours,
> > >the week_graph with the x-axis in days and the month_graph with the
> > >x-axis in days too.
> > >But, I need the month_graph with the x-axis in weeks!
> > >(the first week of January is the week number 1, the first week of the
> > >February is the week number 5, etc.)
> > >
> > >How can i do this ?
> > >
> > >I'm sending a example.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20090325/60c08b97/attachment-0002.html>


More information about the Orca-users mailing list