Hi,
I am implementing heatmap chart using xamTreeMap control.
I need to allow user to select
a column to control Size of the area on a heat map from list of Size Fields (lines 20 and 27)
a column to control Color of the are on the a heat map from list of Color Fields (lines 22 and 37)
using MVVM binding. I will upload code in next post
Hello,
I am just checking if you have any other questions on the matter.
Hello Dmitris and thank you for posting!
I have reviewed the sample project that you have attached and it seems that you have already bound the nodes background color for a property from your viewmodel. This seems to update the color as expected. On the other hand you have a combobox that is bound to another property that also should update the same color. In that scenario I would suggest you use MultiValueConverter to have both the DtdPnl value from the viewmodel and the SelectedColorColumn of the combobox and decide which color to apply based on that.
Here is test code for my question