Page 1 of 1

TreeMap

Posted: Fri May 03, 2013 7:00 pm
by 9532689
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.

Re: TreeMap

Posted: Mon May 06, 2013 2:21 pm
by yeray
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"

Re: TreeMap

Posted: Mon May 06, 2013 2:49 pm
by 9532689
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?

Re: TreeMap

Posted: Wed May 08, 2013 2:17 pm
by yeray
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?

Re: TreeMap

Posted: Wed May 08, 2013 7:46 pm
by 9532689
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

Re: TreeMap

Posted: Fri May 10, 2013 7:39 am
by yeray
Hi,

Any short guide we can follow to create a simple project with just a chart?