Link to home
Start Free TrialLog in
Avatar of willemnel
willemnel

asked on

TChart Question

This is actually a C++ Builder question, but since Delphi is nearly the same, I tought I'd give it a try here.

I'm busy writing a scheduling program and in this I need a Gantt type graph, but with movable bars (drag and move) Is this possible with TChart/TGanttSeries or will I have to write a new component? Please give full details as I'm rather new at this. More points available if neccesary.
ASKER CERTIFIED SOLUTION
Avatar of ZifNab
ZifNab

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of willemnel
willemnel

ASKER

Thanks, Zif. Can you please supply the code since I can't seem to find it under C++ Builder's help.
I'll send it by e-mail. Can you supply your email?
willemnel@freemail.co.za
Sending...
Got it, thanks. Just trying to get hold of BinHex 4.0...
OK, I've got it decoded. It has helped me a bit. Just a question. Do you know what type ***.StartValue[] and ***.EndValue[] is? In the Pascal code you gave it looks like a Double, but C++ refuses to accept it like that. I've tried a few types but no luck.
Hi willemnel,

From Delphi help-file :

LabelStart.Caption:=XValueToText(StartValues[Selected]);

function XValueToText( Const AValue : Double ) : String;

The result of StartValues[] is a double,
while XValueText should result in a string.

Maybe you can find different information in the C++ helpfile.

Regards, Zif.

Thanks a lot, Zif