![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
TChart и KOL
Дмитрий Галин © (2004-10-01 16:04:00)Интересно, а существует ли в KOL какой-нибудь аналог компонента для рисования диаграм и графиков, наподобие TChart в VCL?
Zoom (2005-03-09 22:27:00) [21]in addition to prev. component:
http://rulezmaker.fatal.ru/indicator.rar
It's much easier then tscope. :) Thanks, beforehand!
Zoom (2005-03-09 22:08:00) [22]I think this creating is better:
Function MyNewScope(AnOwner:PControl;width,height:integer):PSCope;
Is it?
Zoom (2005-03-09 22:04:00) [23]Ok. I've tested it and i like it! Let's improve! For example, in this component, clearing of canvas in "tscope.clear" is made by Pen.PenStyle :=psClear;
May be it will be better, if we use InValidateRect or PatBlt ?
Also i got some braking, when i create tsope. ~ 1 or 2 sec, i got only white rectangle instead of scope.
thaddy (2005-03-09 21:08:00) [24]In general:
As you all know I have a lot of new controls for KOL without mirrors,
if someone would like to write mirrors for them: please contact me.
That would also force me to write them more carefull and finished!
I myself will not use mirrors unless I absolutely have to. It is recommended for almost everyone else, though.
thaddy (2005-03-09 21:07:00) [25]In general:
As you all know I have a lot of new controls for KOL without mirrors,
if someone would like to write mirrors for them: please contact me.
That would also force me to write them more carefull and finished!
I myself will not use mirrors unless I absolutely have to. It is recommended for almost everyone else, though.
Zoom (2005-03-09 20:56:00) [26]Oh. I think i can't do it. It's quite hard for me.
thaddy (2005-03-09 20:52:00) [27]I have made some small improvements and make it available as an official download from my site tomorrow (painting on resize).
I am sorry but I won't write a mirror, since I do not use the MCK :-) Why don't you help and write the mirror, as thanks for the fast translation :))
Zoom (2005-03-09 20:32:00) [28]Thanx a lot! It works, but it would be more useful, if there was a mirror of this scope. ( I'm so cheeky! :-) )
thaddy (2005-03-09 09:39:00) [29]It is in beta on my website: http://www.thaddy.com/kol_graph_beta_1.zip
Paha (2005-03-09 02:46:00) [30]Я тоже буду очень благодарен если на KOL будет хоть какой-нибудь аналог компонента Чарт. Смотрел KOLPlotter - это не то что надо. Мне, например, надо строить графики/гистограммы исходя из массива значений а там (в KOLPlotter) тупо пишешь формулу и рисуется график. Второй камень в огород KOLPlotter - при его применении размер экзекутива увеличивается аж на 50Кб. Это уж совсем не оптимально. Так что thaddyжду от Вас достойного аналога VCL TChart компонента для KOL.
thaddy (2005-03-09 02:01:00) [31]Alpha version available for testing here: http://www.thaddy.com/kolscope.pas
ECM (2005-03-08 22:06:00) [32]>thaddy (08.03.05 21:56) [10]
>Link doesn't work. Will you mail it to kol@clelo.nl? See what >I can do.
Tested - link work normaly. :)
thaddy (2005-03-08 21:57:00) [33]kol@chello.nl, sorry.
thaddy (2005-03-08 21:56:00) [34]kol@chello.nl, sorry.
thaddy (2005-03-08 21:56:00) [35]Link doesn't work. Will you mail it to kol@clelo.nl? See what I can do.
Zoom (2005-03-08 21:31:00) [36]Меня вот тоже эта проблемка заинтересовала. В частности график. Вот простой компонент. http://rulezmaker.fatal.ru/scope.rarПопробовал перевести на KOL, естественно ничего не вышло. Был бы безмерно рад увидить его в MCK исполнении :)
thaddy (2005-02-14 17:14:00) [37]Finished the beta.
- Bars, Stacked bars, Pies, more!
http://members.chello.nl/t.koning8/kol_graph_beta_1.zip
Have not time to add colorscheme code now. But it is easy.
Try it!
thaddy (2005-02-14 12:30:00) [38]Here's a quick tip to draw a Bar graph easily:
var
Bars:array[0..Pred(Mexvalues) of PControl;
i:Integer;
begin
for i:=0 to Pred(MaxValues) do
begin
Bars[i]:=NewProgressbarEx(form,[pboVertical, pboSmooth]).setsize(20,100).placeright;
Bare[i].maxprogress:=100;
Bars.Progress:=YourValue;
end;
etc......
thaddy (2005-02-14 12:20:00) [39]I have written one that does "bar" and "pie" graphs but only 2 D.
I see if I can find it and publish it on my website in a few days ok? with sourcecode for you to improve :)
RA (2005-02-14 11:47:00) [40]А разве TChart не ActiveX?