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

Dates on the category axis of line chart

4 Answers 292 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Nocklas
Top achievements
Rank 1
Nocklas asked on 18 Jun 2012, 02:27 PM
Is there some way that I can get DataViz to automatically generate a nice looking axis when using dates on the category axis? It would be helpful if it for instance could choose an appropriate step size etc. automatically. 

If this isn't possible I have another question. How do I make it step over some ticks cause I only want ticks where I have labels.

Thanks

4 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 20 Jun 2012, 08:54 AM
Hi Niclas,

I am afraid that currently Kendo UI Chart does not support date axes. The good news is that such feature is scheduled for our next official release, which is expected in the first half of July.

Regarding your other question - you could set up a step to the labels via the step configuration option.
 

Kind regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Nocklas
Top achievements
Rank 1
answered on 21 Jun 2012, 08:53 AM
Thank you for your reply. Nice to hear that the feature will be released soon.

Regarding my other question. I was asking for a way to configure the ticks on the category axis, not the labels.
0
Jeff
Top achievements
Rank 1
answered on 23 Jun 2012, 08:16 PM
Can you please document these missing features.  Otherwise we spend hours trying to implement a non-exitent feature.  I spent 2+ hours trying to make a date/time x-axis work when it can't.

http://www.kendoui.com/documentation/dataviz/chart/axes.aspx#categorical-category-axis

There doesn't appear to be anything documenting which data types are supported and which are not for the x-axis.

Thanks,
Jeff
0
Iliana Dyankova
Telerik team
answered on 25 Jun 2012, 08:45 AM
Hi,

@Niclas

I am afraid at this stage "making a step over some ticks" functionality is not supported, but this idea sounds good and I would suggest to share it as a feature request at our UserVoice page. This way the community can evaluate and vote for it. The more votes it collect, the higher priority it will have.


@Jeff

I am sorry for the inconvenience caused. The Kendo UI's documentation includes detailed description of the currently available widgets, their methods and properties. In the chart configuration section is noted that the categoryAxis object is used to set the category names. The date axes is a special case of the axes and when this option become available it will be included in our documentation. 

 
Kind regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Nocklas
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Nocklas
Top achievements
Rank 1
Jeff
Top achievements
Rank 1
Share this question
or