5 Answers, 1 is accepted
0
Accepted
Hello Ted,
The provided example is not working with dates because the value axis does not support date values. The Kendo UI RangeBar Chart can be used only with numbers.
I can suggest checking our example on how to take the numeric value from the date object and use it in the RangeBar Chart:
http://docs.telerik.com/kendo-ui/controls/charts/how-to/timeline-using-range-bars
Also, I can suggest submitting a feature request in our UserVoice portal and based on its popularity we may implement it in a future request.
http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback
Let me know if you need additional information on this matter.
Regards,
Stefan
Telerik by Progress
The provided example is not working with dates because the value axis does not support date values. The Kendo UI RangeBar Chart can be used only with numbers.
I can suggest checking our example on how to take the numeric value from the date object and use it in the RangeBar Chart:
http://docs.telerik.com/kendo-ui/controls/charts/how-to/timeline-using-range-bars
Also, I can suggest submitting a feature request in our UserVoice portal and based on its popularity we may implement it in a future request.
http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback
Let me know if you need additional information on this matter.
Regards,
Stefan
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
0
Ted
Top achievements
Rank 1
answered on 15 Jul 2016, 04:36 PM
Hello Stefan,
I have submitted a request as you suggested.
I am also very pleased to have integrated 'using the numeric value from the date object' into my RangeBar Chart. Here is the new example: example
Can you please tell me if I have any other options regarding the 'majorUnit' property, or is milliseconds the only unit of measure for this example? For example, is there a way to use the number of days as the majorUnit?
Thank you so much for your help!
Regards,
Ted
0
0
Accepted
Hello Ted,
I'm glad to hear that you managed to implement the Kendo UI Chart value axis to work with Date objects.
Regarding the majorUnit configuration of the Chart, it is expecting a number value which is only interpreted in milliseconds when using Dates:
http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-valueAxis.majorUnit
Let me know if you need additional information for the Kendo UI Chart API.
Regards,
Stefan
Telerik by Progress
I'm glad to hear that you managed to implement the Kendo UI Chart value axis to work with Date objects.
Regarding the majorUnit configuration of the Chart, it is expecting a number value which is only interpreted in milliseconds when using Dates:
http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-valueAxis.majorUnit
Let me know if you need additional information for the Kendo UI Chart API.
Regards,
Stefan
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
0
Ted
Top achievements
Rank 1
answered on 19 Jul 2016, 12:05 PM
Hello Stephan,
Thank you for the additional information.
Ted