Telerik RadHtmlChart fixed values on x-axis

2 posts, 0 answers
  1. Mariano
    Mariano avatar
    6 posts
    Member since:
    Sep 2016

    Posted 19 Sep Link to this post

    Hello I hope you can help me.

    I want to show fixed hours in xaxis, but graphic all values in datasource

    In this example, I want to have in xaxis 10:00, 11:00, 12:00, 13:00, 14:00, but maybe in my datasource i'll have values: 10:02, 10:10, 11:15 .

     

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 22 Sep Link to this post

    Hi Mariano,

    I advise you start form this article: http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/functionality/axes/date-axis and continue into using the DataFormatString (http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/appearance-and-styling/format-dates) or ClientTemplate (http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/functionality/clienttemplate/using-client-templates-legend-axes#client-templates-for-axes-labels).

    Regards,

    Marin Bratanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top