Graphing discontinuous data

4 posts, 0 answers
  1. erich
    erich avatar
    3 posts
    Member since:
    Oct 2012

    Posted 31 Mar 2013 Link to this post

    Hi, when I have a discontinuous/sparse seriies of data (e.g. a date X-axis, and i have 1/1,1/2,1/5,1/6) on a line graph,etc there are 'breaks between the actual values on the 'missing'  day.  Is there an option to have the chart draw the line 'across' the missing values to the next 'dot'?
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 01 Apr 2013 Link to this post

    Hello Erich,

    In order to achieve this you should set series.missingValues configuration option to "interpolate". For example: 
    $("#chart").kendoChart({
      //....
      series: [{
         //....
         missingValues: "interpolate"
      }]
    });

    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!
  3. erich
    erich avatar
    3 posts
    Member since:
    Oct 2012

    Posted 01 Apr 2013 Link to this post

    Hi Iliana, thanks so much.  I actually scanned the api, but with those 500+ config items, it's easy for your eyes to glaze over :)  

    Just as a suggestion while you guys format is cook for the simpler components, I don't know if maybe a 'subject oriented' or something view might be useful for the 'big' API's like the Chart component.  
  4. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 01 Apr 2013 Link to this post

    Hi Erich,

    Thank you for the feedback - I forwarded it to the team and we will definitely consider it.
     
    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