This is a migrated thread and some comments may be shown as answers.

Is it possible SmartLabelsMode="SmartStep" in RadHeatMap ?

4 Answers 46 Views
HeatMap
This is a migrated thread and some comments may be shown as answers.
Gerard
Top achievements
Rank 1
Gerard asked on 26 Apr 2016, 11:32 AM

 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.

4 Answers, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 27 Apr 2016, 11:45 AM
Hello Gerard,

I'm afraid that HeatMap does not support Smart Labels functionality. Please have in mind that the heat map control has no notion of axes and the row and column headers are similar to the headers of a data-grid. 

You can use LabelInterval property of HeatMapColumnHeaderSettings if this works for you scenario: 
<telerik:RadHeatMap.ColumnHeaderSettings>
    <telerik:HeatMapColumnHeaderSettings LabelInterval="2" />
</telerik:RadHeatMap.ColumnHeaderSettings>

I cannot see from the picture if the bottom labels represent Integers or DateTime. However, if you think in the context of the ChartView, the headers in heatmap are more like categories in a categorical axes, so you can set label interval, but you cannot have "SmartStep" (all categories are equal).

I hope this information helps.  Let us know if you have any other questions. 

Regards,
Milena
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Gerard
Top achievements
Rank 1
answered on 27 Apr 2016, 01:24 PM

Hello Milena,

Thanks for your answer ,the bottom labels represent TimeSpan , the "LabelInterval=2" really does not solve the problem, as you can see in the attached image , the problem is that the labels are not shown because they do not fit. Any idea ?

Regads,

Gerard.

0
Milena
Telerik team
answered on 28 Apr 2016, 10:37 AM
Hello Gerard, 

Thank you for the picture provided.

You can set  LabelClipToBounds property of HeatMapColumnHeaderSettings to False or also LabelRotationAngle property: 
<telerik:RadHeatMap.ColumnHeaderSettings>
    <telerik:HeatMapColumnHeaderSettings
           LabelClipToBounds="False" LabelRotationAngle="30" />
</telerik:RadHeatMap.ColumnHeaderSettings>

Please let me know if this works for you.

Regards,
Milena
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Gerard
Top achievements
Rank 1
answered on 28 Apr 2016, 11:14 AM

Hello Milena,

Thank you!

Regards,
Gerard. 

Tags
HeatMap
Asked by
Gerard
Top achievements
Rank 1
Answers by
Milena
Telerik team
Gerard
Top achievements
Rank 1
Share this question
or