Missing values with DateTimeContinuousAxis

2 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    6 posts
    Member since:
    Jun 2014

    Posted 10 Sep 2014 Link to this post

    Any options for controlling chart behaviour with missing values and a DateTimeContinuousAxis? I need the empty parts of the chart to be absent rather than connected to the next available value...

    Tia,

    Jonathan
  2. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 15 Sep 2014 Link to this post

    Hi Jonathan,

    I already answered this question in your support ticket, but I will quote my reply also here so that it can be visible in our community.

    No, the chart does not expose a behavior that controls the way the empty points are displayed. By default if a data point has a value of Null it won't be plotted on the chart.

    For example if you have a categorical data and you have a data point in category "1" with a value set to 10, another point in category "2" with value set to Null and third point in category "3" and value set to 20, the chart will drop the null point and won't draw a line between the first and the third points.

    In order to achieve your requirement you can set Null value on the data points that you consider as missing. You can take a look at the Empty Values demo that demonstrates such approach. 


    Regards,
    Martin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top