The CHARTDIR command needs to be a URL from the location where the
report is published.
So let's say your home directory is
/home/jenny/
And that you are putting the report.html in
/home/jenny/webanalyzer/analog-6.0/
You want a sub folder and prefix for the charts so you set
LOCALCHARTDIR /home/jenny/webanalyzer/analog-6.0/Charts/%D%M%Y
Now a relative URL from the report.html to the location where the charts
are would be
CHARTDIR /Charts/%D%M%Y
For more details on the commands see
http://www.analog.cx/docs/othreps.html#CHARTDIR.
--
Jeremy Wadsack
Seven Simple Machines
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cao
Jenny-CJC140
Sent: Thursday, April 05, 2007 8:21 AM
To: [email protected]
Subject: [analog-help] how to save graphs in a new directory
All,
The image files that display graphs are generated dynamically by analog
when it runs and they are saved in the same directory as the report file
by default. I would like to keep the graphs in a separate directory with
date-based file names, so that the graphs do not get overwritten every
time analog runs, and I can go back to look at the historical data with
the corresponding graphs.
I tried putting the following commands in my config file:
LOCALCHARTDIR <my_home_dir>/webanalyzer/analog-6.0/Charts/%D%M%Y.
CHARTDIR <my_home_dir>/webanalyzer/analog-6.0/Charts/%D%M%Y.
I could see the graphs are generated with the date as part of the file
names, but analog is not picking up the graphs in the report.
Can anyone please help? Thanks in advance for your help!
Regards,
Jenny
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------