Time on y-Axis

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

    Posted 20 Jul 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,

    Kelvin

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 25 Jul 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

    Regards,
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top