TeeChart 2010 - TreeMap - No Documentation?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
TimeAcct
Newbie
Newbie
Posts: 43
Joined: Wed Sep 03, 2008 12:00 am

TeeChart 2010 - TreeMap - No Documentation?

Post by TimeAcct » Sun May 30, 2010 11:55 pm

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

TimeAcct
Newbie
Newbie
Posts: 43
Joined: Wed Sep 03, 2008 12:00 am

Re: TeeChart 2010 - TreeMap - No Documentation?

Post by TimeAcct » Mon May 31, 2010 2:46 am

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

Yeray
Site Admin
Site Admin
Posts: 9611
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart 2010 - TreeMap - No Documentation?

Post by Yeray » Mon May 31, 2010 9:28 am

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.

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;
The binary version is the one that includes the help files and examples.
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. :)
Could you please tell us where did you found these wrong references?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

TimeAcct
Newbie
Newbie
Posts: 43
Joined: Wed Sep 03, 2008 12:00 am

Re: TeeChart 2010 - TreeMap - No Documentation?

Post by TimeAcct » Mon May 31, 2010 1:11 pm

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

Yeray
Site Admin
Site Admin
Posts: 9611
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeChart 2010 - TreeMap - No Documentation?

Post by Yeray » Tue Jun 01, 2010 2:09 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply