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

Multiple Value Axes with Date CategoryAxis

1 Answer 98 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Gavin
Top achievements
Rank 1
Gavin asked on 05 Oct 2012, 03:24 PM
I'm trying to have multiple value axes with CategoryAxis date type. See the following jsFiddle, and how the dates are not labeled on the x-axis: http://jsfiddle.net/gavinr/Q6ust/


Is this an issue with Kendo or am I doing something wrong?

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 09 Oct 2012, 02:30 PM
Hello Gavin,

I believe the issue is due to the fact that actually in the data there is no Date. Generally speaking the dateAxis expects one object for each date
var data = [{
    "Date": "2011/01/01",
    "Amount": 66,
     //....},
{
    "Date": "2011/02/01",
    "Amount": 67
     //....},
{
    "Date": "2011/03/01",
    "Amount": 68,
    //....}];

I hope this information helps.

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
Gavin
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or