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

RadHtmlChart client-side DateTime data binding

1 Answer 77 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Gio
Top achievements
Rank 1
Gio asked on 19 Mar 2016, 01:40 PM
I'm looking a way to bind date-time data on client side and to be determined automatically as DateTime value type on x axis. is there any example code?

1 Answer, 1 is accepted

Sort by
0
Stamo Gochev
Telerik team
answered on 24 Mar 2016, 06:27 AM
Hi Gio,

You can have a look at our Client-side data binding demo and modify it, so that it suits your scenario:

http://demos.telerik.com/aspnet-ajax/htmlchart/examples/clientsidedatabinding/defaultcs.aspx

In short, you need to use the set_dataSource() method and then repaint the chart to apply the changes.

Regards,
Stamo Gochev
Telerik
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
Gio
Top achievements
Rank 1
Answers by
Stamo Gochev
Telerik team
Share this question
or