Access Keys:
Skip to content (Access Key - 0)

createHierarchy in treemap

Added by Ines Schwaighofer , last edited by Ines Schwaighofer on Mar 07, 2010 18:58

hello

in adobe "tour de flex" i saw some kap lab treemap examples

i would like to use the code snippet

KapTreeMap.dataProvider = DataParser.getInstance().createHierarchy(dataXML,["continent","region"]);

in the example "multimedia renderer" to realize the hierarchy of the treemap

unfortunately i get an error in adobe flex builder, that "DataParser" is an undefined attribute

do i need a special swc file?

thx you so much for your help
best regards
ines

Join the Lab

  • Access to our free components
  • Give your feedback, your needs
  • Participate to our roadmap

Account


Forgot password ?

Latest Updates: 2010/07/12

Releases on:

Top News

Kap2Flex & Klovis new releases
(2010/06/08)
Kap2Flex A new release of our Flex code generator.
Klovis A set of free and open-source libraries.

Read the news »
ConfluenceFx release 1.0!
(2010/06/08)

After a year of beta program and lots of user feedbacks, we are glad to announce the 1st commercial release of CFx!

Need Information?

  1. Mar 08

    Fadi Mansour says:

    Hello Ines, DataParser is a class that we used in the demo to create a hierarch...

    Hello Ines,

    DataParser is a class that we used in the demo to create a hierarchy from the data source.
    The filterPath property available in TreeMap allows you doing the same thing as the DataParser class.
    Please refer to the developer guide for more information.

    Regards,
    Fadi Mansour

    1. Mar 08

      Ines Schwaighofer says:

      hello fadi, i'm already using filterPath in my project the problem is, when i'...

      hello fadi,

      i'm already using filterPath in my project

      the problem is, when i'm using filterPath, i'm not able to get the values of my xml attributes with event.item.attributename anymore (see my last forum topic from 4th of March 2010: get xml attribute values)

      is there any possibility to get the values when using filterPath? (for example to show the values in a textfield, when i rollover the treemap)

      thank you so much for your help
      best regards
      ines

Log in to reply

Why Kap Lab ?

Kap Lab exists because innovation is our passion. Enjoy our products and help us to give you the best.

Cyril Daloz
CEO Kap IT

Adaptavist Theme Builder (3.3.5-conf210) Powered by Atlassian Confluence 2.10.3, the Enterprise Wiki.