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

Time on y-Axis

1 Answer 84 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Kelvin
Top achievements
Rank 1
Kelvin asked on 20 Jul 2016, 10:43 AM

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

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 25 Jul 2016, 08:00 AM
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.
Tags
Chart (HTML5)
Asked by
Kelvin
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or