Is there any way bind two parameters for the nodes one for determine the size of the node and other one for color of the node?
see the attached shot, I have 8 nodes has same values but I have other numeric parameter which has unique values.
Based on that unique value, I need to differentiate them in different color. Is there any way?
Hi,
I am just checking if you require any further assistance on the matter.
Thank you for your reply. I have been looking into your code and I assume that everything will work as expected since you had provided different ‘ValuePath’ for both ColorMappers.
Please tell me if some issue actually occurs or attach a sample application.
Looking forward to hearing from you.
I have achieved by adding color mapper in below
<ig:XamTreemap.ValueMappers>
<!--group--> <ig:ColorMapper ValueTypeName="GroupNode" ValuePath="GroupValue" TargetProperty="Fill" MappingMode="AllNodes" /> <!--data value to determine size--> <ig:ColorMapper ValueTypeName="DataNode" ValuePath="DataValue" MappingMode="AllNodes" /> <!--data time stamp to determine color--> <ig:ColorMapper ValueTypeName="DataNode" ValuePath="TimeStamp" TargetProperty="Fill" MappingMode="AllNodes" To="Green" From="IndianRed" ToolTip="TimeStamp"/> </ig:XamTreemap.ValueMappers>
Please see the last two color mappers, will that be considered as duplicate nodes?
Hello,
Thank you for your post. I have been looking into your requirement and I can suggest you look into the following forum thread where Nikolay has suggested an approach on how to set different color for each node:
http://ko.infragistics.com/community/forums/t/54250.aspx
I am attaching a sample application(TreeMap_Binding.zip) that shows this approach.
Let me know, if you need any further assistance on this matter.