Multiple Value Axes with Date CategoryAxis

2 posts, 0 answers
  1. Gavin
    Gavin avatar
    2 posts
    Member since:
    Sep 2012

    Posted 05 Oct 2012 Link to this post

    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?
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 09 Oct 2012 Link to this post

    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!
Back to Top