Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
730
XamTreemap - Problem plotting negative values
posted

Hi,

I am trying to plot a Treemap with Node Binder.

 <ig:NodeBinder TargetTypeName="TreeMapEntity"
                                               ValuePath="val"
                                               TextPath="name"
                                               NodeStyle="{StaticResource TreeNodeStyle}"  />
The binding value (val) is a double and can have positive and negative values.
When I plot the treemap with positive values it is plotting fine.
When the val has negative double values. It is throwing an error
"There are not any valid treemap nodes".
Questions
=========
1. So, can Treemap plot negative values for the Size?
2. If so, am I missing something in my NodeBinder?
Please let me know, how I can resolve this.
Thanks.

 

Parents
  • 27093
    posted

    Hello,

     

    I have been looking into your enquiry, however since the XamTreeMap displays relatively sized surface, areas it seems to have been decided that negative values are inappropriate for special comparison. What I can do for you is create a Feature Request for adding a property that would allow modular representation of all values in the data source, so that such functionality might appear in one of our future releases.

     

    Please let me know if you require any further clarification on the matter.

Reply Children