TreeMap

TeeChart for ActiveX, COM and ASP
Post Reply
Rousseau
Newbie
Newbie
Posts: 31
Joined: Fri Oct 13, 2006 12:00 am
Location: St-Jean-Port-Joli, Canada
Contact:

TreeMap

Post by Rousseau » Fri May 03, 2013 7:00 pm

Hi,

We have teechart 7 and we need to do TreeMap. I have downloaded Evaluation Version 2012 to see if this version wil meet our needs.

I tried but I am not able to do any with the treeMap. There are is no help about Treemap. We use Progress, so Enum are not supported.

Can you give me an example of Treemap to understand how it work?

Thank you.

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

Re: TreeMap

Post by Yeray » Mon May 06, 2013 2:21 pm

Hi Rousseau,

TreeMap series is a new series in TeeChart v2012 as you can read in the release notes here.
You can see an example of it in the features demo at "What's New ?\Welcome !\New Series\Treemap Series"
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

Rousseau
Newbie
Newbie
Posts: 31
Joined: Fri Oct 13, 2006 12:00 am
Location: St-Jean-Port-Joli, Canada
Contact:

Re: TreeMap

Post by Rousseau » Mon May 06, 2013 2:49 pm

Hi Yeray,

I saw the example but I don't understand what I do wrong. Actually we use Progress.

Code: Select all

  'Example from demo

  With TChart1
    .Series(0).Clear
    
    With .Series(0).asTreeMap
      ' -1 because there's not a parent
      tmp = .AddValue(10, "A", -1, clTeeColor)
  ....
  If Combo1.ListIndex = 0 Then
     TChart1.Series(0).asTreeMap.MapStyle = tmSlice
  Else
    TChart1.Series(0).asTreeMap.MapStyle = tmStrip
  End If
  

Code: Select all

  ' Progress Code

   chCtrlFrame:TChart:AddSeries(68).
  
  chCtrlFrame:TChart:Series(0):asTreeMap:MapStyle = 1.  

  chCtrlFrame:TChart:Series(0):asTreeMap:AddValue (10, "A", -1, RGB-VALUE(255,0,0)).
  
MapStyle and Addvalue are unknow proprieties/methode.

I know you probably don't know the Progress's Language but I think I use the properties/methods properly. Does it can come to an incompatibility?

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

Re: TreeMap

Post by Yeray » Wed May 08, 2013 2:17 pm

Hi Rousseau,

This works fine in VB6:

Code: Select all

  With TChart1
    .AddSeries 68
    With .Series(0).asTreeMap
      .MapStyle = 1
      .AddValue 10, "A", -1, RGB(255, 0, 0)
    End With
  End With
Rousseau wrote:MapStyle and Addvalue are unknow proprieties/methode.

I know you probably don't know the Progress's Language but I think I use the properties/methods properly. Does it can come to an incompatibility?
Maybe this language has some particularity we should consider to make the component support it.
Do you know if there's some free evaluation to test the environment?
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

Rousseau
Newbie
Newbie
Posts: 31
Joined: Fri Oct 13, 2006 12:00 am
Location: St-Jean-Port-Joli, Canada
Contact:

Re: TreeMap

Post by Rousseau » Wed May 08, 2013 7:46 pm

Hi,

http://www.progress.com/fr/openedge-lan ... nload.html

Infortunately, I had to give an answer on the feasibility of the project quickly. I therefore seek alternative that has been used.

Thank you

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

Re: TreeMap

Post by Yeray » Fri May 10, 2013 7:39 am

Hi,

Any short guide we can follow to create a simple project with just a chart?
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