Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines
From: jordan@tcs.COM (Jordan Hayes)
Subject: Re:  "business graphics"
Message-ID: <9106182327.AA03604@dwight.tcs.com>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: Teknekron Communications Systems, Inc., Berkeley, CA.
Date: 18 Jun 91 23:27:47 GMT
Lines: 20

Every now and again, people send mail to this list saying "Does anyone
have a widget that does Business Graphics?  Like, Pie Charts, Bar
Charts, etc.?" and I never really thought about it until today.  So, I
sat down and wrote a bunch of widgets to do stuff like that, but I have
no idea what to do with them.  I mean, how would someone use such a
thing?

If you've had a need for one of these, drop me a note and tell me what
ways you'd need it, and what kind of API would you need.  For now, I
just have some TCL commands that can change the colors, patterns,
values, etc., but would someone do something like

	static int	values[] = { 32, 45, 16, 34, 102 };

	pieChart = PieChartCreate(parent);
	PieChartSetData(pieChart, values, XtNumber(values));

or what?  Woudl you want to read the values from a file?  From a socket?

/jordan
