Hi
I have purchased the TeeChart2010 - and have it installed. I have it working fine in Dephi 2009. I am now trying to figure out how to add items to the TreeMap. However, I am not able to figure out how to add items inside others. The Add method has a parameter called Superior - but I cannot figure out how to use it.
The directory where TeeChart was installed (C:\Program Files\Steema Software\TeeChart Pro 2010 Full Source Code) - has no help file - or sample projects to learn from. All I have below that directory is the Sources directory - and the ones for TeeMaker and TeeTree directories.
Is this normal? If so - what happened to the help file that was with eariler versions? Are their examples how to add things to the TreeMap?
I tried adding it
Series_TreeMap.Add(999,DirectoryName,0,clTeal);
and it gives me a list index out of bounds error.
When I switch the Superior parameter to -1 then
Series_TreeMap.Add(999,DirectoryName,-1,clTeal);
then it loads properly - but then I only get the first level of directories...
So - I am thinking that the Superior parameter has something to do with what blocks are inside of other blocks - but without any docs it is very difficult to figure out.
Can someone point me to some samples - or send me a help file
Bradley MacDonald
TimeAcct Information Systems
brad_AT_timeacct_DOT_com
TeeChart 2010 - TreeMap - No Documentation?
Re: TeeChart 2010 - TreeMap - No Documentation?
OK - I found that I had only installed the source. But now I have downloaded the full install - and I still have some problems.
The help file does not seem to have much about the TreeMap. In fact there are multiple places where it says it cannot find the help file for version 8 - which thus makes it not too useful.
However, the sample seems to explain what is going on. I will play with that for a short while
Bradley
The help file does not seem to have much about the TreeMap. In fact there are multiple places where it says it cannot find the help file for version 8 - which thus makes it not too useful.
However, the sample seems to explain what is going on. I will play with that for a short while
Bradley
Re: TeeChart 2010 - TreeMap - No Documentation?
Hi,
I think you've already found it but, anyway, here is the code used in the Tee9New demo, included in the binary installer and downloadable from here.
The binary version is the one that includes the help files and examples.
I think you've already found it but, anyway, here is the code used in the Tee9New demo, included in the binary installer and downloadable from here.
Code: Select all
var tmp,
tmp1,
tmp2 : Integer;
begin
With Series1 do
begin
Clear;
tmp:=Add(100, 'A');
tmp1:=Add(38, 'B', tmp);
tmp2:=Add(40, 'H', tmp1);
Add(20, 'N', tmp2);
Add(30, 'O', tmp2);
Add(10, 'I', tmp1);
Add(13, 'J', tmp1);
Add(10, 'C', tmp);
tmp1:=Add(35, 'D', tmp);
tmp2:=Add(20, 'K', tmp1);
Add(40, 'P', tmp2);
tmp2:=Add(34, 'L', tmp1);
Add(24, 'Q', tmp2);
Add(13, 'E', tmp);
Add(10, 'F', tmp);
tmp1:=Add(19, 'G', tmp);
Add(16, 'M', tmp1);
Format.Shadow.Visible:=True;
end;
end;
Could you please tell us where did you found these wrong references?TimeAcct wrote:In fact there are multiple places where it says it cannot find the help file for version 8 - which thus makes it not too useful.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart 2010 - TreeMap - No Documentation?
Yeray,
Thank you for the reply on the code.
In terms of the help file....
1. Open the main help file - and search for TreeMap. All you get is AfterDraw, DeletedShapes for the TTeeAnimatedEditor. Nothing on the TreeMap.
while this is not a bug or a missing link - I was surprised I could not find a series by its name
2. One example in on the page (ms-help://embarcadero.rs2009/TeeChart8Standard/html/TCustomChart.OnClickSeries.html)
Here I cannot follow the link in the text
Description
An OnClickSeries event occurs whenever the user clicks onto any Chart TChartSeries.html">Series point.
3. This morning I cannot seem to duplicate the issue with the version 8 message. If I come across it again - I will resend it.
Bradley
Thank you for the reply on the code.
In terms of the help file....
1. Open the main help file - and search for TreeMap. All you get is AfterDraw, DeletedShapes for the TTeeAnimatedEditor. Nothing on the TreeMap.
while this is not a bug or a missing link - I was surprised I could not find a series by its name
2. One example in on the page (ms-help://embarcadero.rs2009/TeeChart8Standard/html/TCustomChart.OnClickSeries.html)
Here I cannot follow the link in the text
Description
An OnClickSeries event occurs whenever the user clicks onto any Chart TChartSeries.html">Series point.
3. This morning I cannot seem to duplicate the issue with the version 8 message. If I come across it again - I will resend it.
Bradley
Re: TeeChart 2010 - TreeMap - No Documentation?
Hi Bradley,
You are right. I've added these missing pages and the link problem in the defect list to be fixed in future releases (TV52014925).
If you find more inconsistencies, please, don't hesitate to let us know.
You are right. I've added these missing pages and the link problem in the defect list to be fixed in future releases (TV52014925).
If you find more inconsistencies, please, don't hesitate to let us know.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |