Re-2: Stacked bars and negative numbers...

Christian Stimming stimming@tuhh.de
Mon, 4 Feb 2002 19:54:01 +0100


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

On Monday 04 February 2002 15:50, lmb wrote:
> What would also be cool (while I am at it): Numbers at the top of the bars,
> so one knew what the actual value was; how would I do that?

I just found my old message to Jon Trowbridge about that. I haven't continued 
and/or started working on these issues; just have a look at it and maybe it 
sounds interesting enough for you to give it a try :-)

- ----------  Forwarded Message  ----------

Subject: Re: May I implement some more features in Guppi?
Date: Mon, 2 Apr 2001 11:40:43 -0400
From: Jon Trowbridge <trow@gnu.org>
To: Christian Stimming <stimming@tuhh.de>

On Sun, Apr 01, 2001 at 11:49:45PM -0700, Christian Stimming wrote:
> There is a bunch of additional features that I'd like too see in Guppi,
> especially in libguppitank. I browsed through the source and I got a rough
> idea how that would work, but I would like to hear your opinion on whether
> I'm on the right track or not.
>
> * The Piechart should offer not only the percentage as a label, but also
> just the number or even arbitrary string. Apart from the components in
> plug-ins/plot/guppi-pie-state.[hc] to store that information, it needs
> coding of the rendering in guppi-pie-item.c:render().

Again, this sounds reasonable.  Remember to also make the necessary changes
in guppi-pie-print.c:print() so that the printed output will match the
screen.

> * I would even like to add labels to the barchart bars. That would require
> extensive coding in guppi-barchart-item.c:render(). I'd probably try to
> copy the code from guppi-pie-item.c.

Again, this probably won't be too bad.  If you want labels to be able to
sit "on top of" bars (rather than superimposed over them), you might need
to adjust guppi-barchart-view.c:preferred_(x|y)_range to make sure the
labels don't fall off of the pages.

> Do you think any of those won't work at all? Any objections? I'll be
> thankful for all of your comments.

This all sounds reasonable, and these would be great contributions!

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

iQCVAwUBPF7YyWXAi+BfhivFAQEBngP/eEIBabcdopbWaG/Hd4cvntAj5zTom6fk
QaKmIFEWswUxgtIIoP7CNp/+W03IAhMtj9j7eIHFhODfbLPMCo8WZDgSMx1XRn8X
dx6rkPTfq4lfOy8mVXuDxK4x5WepHMEqC98PiGEvPXs7eDKh4SHHrSIloma33dqp
OgmzrRrSUmM=
=prLN
-----END PGP SIGNATURE-----