Is it possible SmartLabelsMode="SmartStep" in RadHeatMap ?

5 posts, 0 answers
  1. Gerard
    Gerard avatar
    16 posts
    Member since:
    Mar 2016

    Posted 26 Apr Link to this post

     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.

  2. Milena
    Admin
    Milena avatar
    204 posts

    Posted 27 Apr Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Gerard
    Gerard avatar
    16 posts
    Member since:
    Mar 2016

    Posted 27 Apr in reply to Milena Link to this post

    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.

  5. Milena
    Admin
    Milena avatar
    204 posts

    Posted 28 Apr Link to this post

    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.
  6. Gerard
    Gerard avatar
    16 posts
    Member since:
    Mar 2016

    Posted 28 Apr in reply to Milena Link to this post

    Hello Milena,

    Thank you!

    Regards,
    Gerard. 

Back to Top
UI for WPF is Visual Studio 2017 Ready