Telerik Forums
UI for WPF Forum
1 answer
12 views

Hello,

we currently use a HeatMap for our C# WPF (.NET Core) project to visualize data with a custom HeatMapDefinition.
Now we want the HeatMap to show a selection border for the selected cell, but this is not working for us as no selection border is shown.

The problem is easily reproducible in the xaml-sdk (with the CustomHeatMapSourceAndDefiniton project).
Just change in the MainWindow.xaml the RadHeatMap like this:
        <telerik:RadHeatMap x:Name="heatmap"
                            SelectionMode="SingleDataItem"
                            SelectedCellBorderColor="Magenta"
                            SelectedCellBorderThickness="5">
...

And limit the GetData parameters in MainWindow.xaml.cs to something like:
CustomHeatMapItem[,] data = this.GetData(20, 30);

According to the documentation, setting SelectionMode, SelectedCellBorderColor and SelectedCellBorderThickness like this should be sufficient, but in our test no border was drawn.

We tested in our project with a CategoricalDefinition and there the selection does work.

Looking into the source code of the HeatMap, the HeatMapColorGrid should be responsible to draw the selection border in different combinations (with and without hover, etc).
In the method RedrawAllCells() for example:
this.DrawSelectedCell(rowIndex, columnIndex, intColor);

However those calls all seem gated by if-checks with a call to this.Definition.IsCellSelected(rowIndex, columnIndex).

Which calls the method IsCellSelected from the current definition casted as HeatMapDefinition.
This method in the HeatMapDefinition always returns false and is internal, so we cannot override it within our derived custom HeatMapDefinition (as opposed to e.g. CategoricalDefinition, which overrides it).

So the question is, how do we get the HeatMap to draw the selection border, if we cannot tell it that the cell is selected?
Or did we miss something?

Martin Ivanov
Telerik team
 answered on 09 Apr 2024
1 answer
183 views

Hello.

 

I'm looking for a similar control like Matrix table.

Among them, HeatMap Control is the most similar, so I used it.

But here is the problem. I have attached an example file.

 

I want to control by putting TextBox in Cell. However, putting a textbox in the template doesn't work.

I'm far from using HeatMap, but I'm trying to use it this way.

Is there a way or could you recommend a different control for what I want to do?

 

Thanks.

 

Martin Ivanov
Telerik team
 answered on 03 May 2021
1 answer
54 views

I am trying to display the values used for the RadHeatMap as labels in the table but somehow I cannot get it to work. The version of Telerik which is used is 2015.3.930.45 (which is 2015 Q3 so it should include the new labeling functionality which was introduced in 2015 Q2).

I have looked at the relevant example in the demo application (version R2 2017) but that code does not work in 2015 Q3).

What could be the issue here? Thanks in advance!

Douwe
Top achievements
Rank 1
 answered on 24 Jul 2017
2 answers
93 views
I have a RadHeatMap that takes about 10 seconds to render  700,000 data points.  I have a RadBusyIndicator to show that the data is being loaded.  Is there an event or some way to tell when the data is finished binding and the heatmap has finished rendering so i can change the busy property of the RadBusyIndicator?  
Rihana
Top achievements
Rank 1
 answered on 03 Jul 2017
4 answers
96 views

 Is it possible RadHeatMap axes SmartLabelsMode="SmartStep" ? As you can see in the attached image , when I have a lot of data , labels overlap. Is there any solution in radhepmap ? In radcartesianchart with SmartStep the problem is solved.

Regards,

Gerard.

Gerard
Top achievements
Rank 1
 answered on 28 Apr 2016
3 answers
80 views

Hello,

It could be possible to represent X axis and Y axis into bottom side and right hand, respectively?

<telerik:RadHeatMap x:Name="radHeatMap" ShowToolTips="True" CellBorderThickness="1" CellBorderColor="#FFE4E4E4">
    <telerik:RadHeatMap.Definition>
        <telerik:CategoricalDefinition ItemsSource="{Binding Path=HeatMapSeries}" RowGroupMemberPath="Z" ColumnGroupMemberPath="X" ValuePath="Y" Colorizer="{StaticResource HeatMapValueGradientColorizer}" />
    </telerik:RadHeatMap.Definition>
</telerik:RadHeatMap>

 

Regards,

Gerard.

Gerard
Top achievements
Rank 1
 answered on 21 Mar 2016
1 answer
119 views

Hi,

 

I would like to know if its possible to display a heat map with different item sizes? We need to visualize road conditions and we use a custom built chart using writable bitmap currently.

 

I am busy replacing these charts with Telerik controls. But all the examples ive seen for the heatmap, all items are the same size.

 

I have attached our current HeatMap, highlighted with Yellow rectangle. 

Dinko | Tech Support Engineer
Telerik team
 answered on 13 Oct 2015
3 answers
211 views
I am using HeatMap for my application and ı copied/ paste demos example to My application.But ı couldnt fix QuickStart part.

Best Regards To Team ...
Martin Ivanov
Telerik team
 answered on 09 Feb 2015
1 answer
41 views
Can I bind heatmap to a two dimensional array?
Peshito
Telerik team
 answered on 05 Feb 2015
2 answers
132 views
Hello Telerik Team

         I am using heatmap for my application.But ı have lots of rows definition and when loaded content , Rows data zipped for wrapping and ı need to scrolling them. I looked scrollViewer property for configuration . I couldnt.


Best Regards
Erhan
Top achievements
Rank 1
 answered on 02 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?