Time on y-Axis

2 posts, 0 answers
  1. Kelvin
    Kelvin avatar
    1 posts
    Member since:
    Jul 2016

    Posted 20 Jul 2016 Link to this post

    I'm trying to do something similar to the attached image, normal asp.net chart is used in the screenshot.

    The data comes in as time (00:00:00) and x-axis is in long date(which works fine) but for some reason i can't find anything or option that can enable me to put time on the Y-axis. I've been trying to do this for the last day, everything i search on the internet is either outdated, doesn't work or no one has replied to their post. Customer support's taking their time too. Thanks in advance.


    Best wishes,


  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 25 Jul 2016 Link to this post

    Hello Kelvin,

    Dates on the y-axes are not supported out of the box because this axis is a valueAxis. Nevertheless, you can achieve that behavior by converting the datetime values to decimal and assigning them to the series items' y values. After that you can format the y-axes values to datetime. The following resources may be helpful on these matters:
        - http://docs.telerik.com/kendo-ui/controls/charts/how-to/display-time-on-value-axis
        - http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/how-to/programmatic-creation-of-seriesitems-with-datetime

    Danail Vasilev
    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.
Back to Top