Autor Beitrag
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: So 25.07.04 00:37 
Hi.
So, ich hab mich schon x-mal mit Charts auseinander gesetzt aber nie rausgefunden wie man sie benutzt. :les: ... :?!?:
In Delphi7 gibt es ja mehrere Charts welche davon soll ich nehmen?
Und wie kann ich dann (zur Laufzeit) Werte reinbringen?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 25.07.04 10:04 
also bei mir in D5 geht das so:
1. nimm dir die chart kompo und papp sie aufs formular.
2. mach nen doppelklick drauf
3. klick in der registerkarte DIAGRAMM auf die Registerkarte REIHEN (das ist das was als allererstes sichtbar ist)
4. Klcike auf HINZUFÜGEN
5. Wähle einen Diagrammtyp aus den du magst.
6. In dem Fenster erscheint dann dein neues Diagramm das standardmässig Series1 heisst.
7. um das Diagramm zu füllen nimm folgenden code her:series1.Add (12);oderseries1.Add (12,'hallo');

viel spass beim rumprobieren

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Coder Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: So 25.07.04 13:48 
Ok, danke. :D

Wie kann ich es machen das man in eine Tabelle (zb. StringGrid) die Werte eingibt und dann in die Chart übernommen werden?

edit// Hat sich erledigt. :)