Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to put graphs into a Delphi screen?

Status
Not open for further replies.

PaidtheUmpire

Programmer
Jan 4, 2004
105
AU
The data i want to insert looks like the following:

NAME ROUND SCORE1 SCORE2 SCORE3

Bill 1 150 125 86
Bill 2 126 167 151
etc...

Is there a way to 'line' graph it so the point follow this sequence...

150, 125, 86, 126, 167, 151.

Thanks for any help...

Delphi I can't get enough of you.
 
Try using the TeeChart control.

If your data comes from a database then you might consider using the data-aware version of TeeChart.

Andrew
Hampshire, UK
 
Andrew
Is the tchart still on the activex page in after D4, and if so is it any more stable than the last time i tried to use it?

You can use Tcanvas.moveto and .lineto to create your own graphs. if your data is simple this might be the best way.


Steve

Life is like a Grapefruit, sort of orangey-yellow and dimpled on the outside, wet and squidgy in the middle, it's got pips inside too. Oh and some people have half a one for breakfast. Ford Perfect.
 
I use Delphi 7 (and sometimes Delphi 2005). TeeChart is on the Additional components tab and its icon looks like a colourful pie chart. It is, confusingly, called Chart rather than TeeChart.

I have found TeeChart to be reliable and quite easy to use.

The components on the ActiveX tab are not TeeChart. I experimented with those ActiveX components a few years ago but once I got into TeeChart I ignored them.

Andrew
Hampshire, UK
 
Yes Steve, it is still on AcitveX page (Delphi 6), but I prefer the TDBChart (also a TeeChart control) found on the Data Controls palette.
I have not used the Chartfx because my raw data is pulled from a Database. Stable lots of combinations.

Steven van Els
SAvanEls@cq-link.sr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top