Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Maybe someone knows ... Find similar branches


tovSuhov   (2001-12-18 12:16) [0]

... как в Chart`е в рун-тайме поменять вид Series, чтоб к примеру выводилось не столбиками, а линиями?



MBo   (2001-12-18 12:29) [1]

В Runtime нельзя поменять - у тебя же описано Series1:FastLine;
Можно динамически создать новую серию.



tovSuhov   (2001-12-18 12:40) [2]

Во! А как это делается?



MBo   (2001-12-18 12:56) [3]

was
Form1: TForm1;
DinSer: TLineSeries;// или TCustomSeries - если будешь создавать разные

procedure TForm1.Button2Click (Sender: TObject);
var i: integer;
begin
DinSer:=TLineSeries.create(chart1);//а здесь конкретный тип
dinser.ParentChart:=chart1;
for i:=1 to 20 do dinser.AddXY(i,sin(0.2*i));
end;



tovSuhov   (2001-12-18 13:03) [4]

Вот спасибо!!! Выручили!!!



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top















Memory: 0.82 MB
Time: 0.031 c
6-22311
BigFoot
2001-10-04 19:27
2002.01.08
Удалённо


1-22213
T2
2001-12-16 07:14
2002.01.08
Secret Api & oth.


3-21904
Andrei
2001-11-29 22:18
2002.01.08
query


1-22259
Rats
2001-12-12 17:55
2002.01.08
Дорисовка кривых (дубль 2)


3-21942
Rev
2001-12-03 12:19
2002.01.08
Good people help with the stored procedure.





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish