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

How to Create Range Chart For Dates

1 Answer 125 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Jahangeer
Top achievements
Rank 1
Jahangeer asked on 30 Dec 2015, 07:50 AM

Hello,

 Is there any possibility to work on dates instead numbers for charts?? For e.g I want to show Bar Range Chart from 1st of Jan to 3rd of Jan 

I hope I'm clear enough I was unable to find any demo related to Dates for Range charts 

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 04 Jan 2016, 07:55 AM
Hi Jahangeer,

You may find useful this how-to (http://docs.telerik.com/kendo-ui/dataviz/chart/how-to/timeline-using-range-bars) which shows a possible approach for creating a timeline with range bars with Kendo UI chart.

You can try a similar approach for RadHtmlChart as well. You can see how to convert C# DateTime to its JavaScript equivalent here - http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/how-to/programmatic-creation-of-seriesitems-with-datetime

Regards,
Danail Vasilev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart (HTML5)
Asked by
Jahangeer
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or