Article View: comp.windows.x
Article #23846Re: "business graphics"
From: Jordan Hayes
Date: Tue, 18 Jun 1991 23:27
Date: Tue, 18 Jun 1991 23:27
20 lines
1289 bytes
1289 bytes
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
Technical Details
Message-ID:
<9106182327.AA03604@dwight.tcs.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-linesShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.x Path: arc1-ca.pugleaf.net!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