weird piechart problem

Christian Stimming stimming@tuhh.de
Wed, 10 Oct 2001 11:15:07 +0200


-----BEGIN PGP SIGNED MESSAGE-----

On Wednesday 10 October 2001 07:19 am, Greg Woods wrote:
> > change
> > the "Show accounts until level" option to "all", then click ok to
> > re-render the piechart.
>
> I tried that, and it has no effect. The same thing happens, only the
> last expense account in the selected list is included in the
> calculation. Since this is a level 2 account (Vacation:Travel), I also
> tried setting the level to "1" to see what would happen. When I do that,
> I get a page that says "No data: the selected accounts contain no
> data/transactions (or only zeroes) for the selected time period"

To check whether the data part of that works correct we could have Gnucash 
print out the numbers that should appear in the chart. If you installed 
Gnucash into /usr/local, this is done as follows: Go into the file 
/usr/local/share/gnucash/scm/report.scm . In line 505, remove the leading 
';;' so that it just reads

              (display html) (newline)           

(Re-)Start GnuCash from some console. As you can see, the html source code 
for each report gets printed to the console. For the expense piechart, there 
should be a line

<param name="data" value="5273.65 4364.7 3561.03 2691.17 2511.48 2366.56 
3365.66 ">

which *should* show the numbers that should be shown in the chart.

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQCVAwUBO8QRm2XAi+BfhivFAQEmegP+NSjQb9usWoYWdxVDbXXZUWNZPJmmDQIT
d1ves+zf6xG5M3KASusXBlX/MKfYHEEDfKruTGDww/o0wFE5P0FFjogZAAGkvoIY
jnVMsLPBvQZ7c3i4QchsEiz28cqcRmy0I4K8y8EG0GtIkJYoF3IhaesrrNW/rXDG
CdfpRKcSv/I=
=pEA4
-----END PGP SIGNATURE-----