[comp.windows.x] "business graphics"

jordan@tcs.COM (Jordan Hayes) (06/19/91)

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