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 Reply Children
No Data