How to Hide NULL Values In Line/Spline Line Charts

10 posts, 0 answers
  1. Simon Chan
    Simon Chan avatar
    13 posts
    Member since:
    Jul 2009

    Posted 26 Nov 2009 Link to this post

    My objective is to generate a Spline Line chart with two segments with different color. My first attempt is to use data binding to change the color of line segments but no luck.

    Now, I'm trying another approach; to create two spline line charts with different color. Since I'm using MVVM data binding, I create a collection with three fields, namely, the date field, 1st spline line value & 2nd spline line value. I set the first half of 2nd spline line value to null and the second half of 1st spline line value to null. After I bind the collection to the chart, the outcome is no good,
    1. The RadChart control treats null as zero. Consequently, the two spline lines are shown from the start date and end date instead of only showing non-null data.
    2. The turning point of the two lines looks like broken and does not join smoothly.

    Would you please advise,
    1. Is there any way to hide null values in line/spline line charts?
    2. Is there any other way to achieved my objective?

    Regards,
    Simon
  2. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 01 Dec 2009 Link to this post

    Hi Simon,

    Currently there is no way to cover this scenario. Line, Spline and all Area series are rendered as single visual element. The empty values feature is not currently supported. It is in our plans, but I cannot give you time-frame for it's completion.

    Best,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Matthew
    Matthew avatar
    1 posts
    Member since:
    Feb 2009

    Posted 09 Feb 2010 Link to this post

    We need this feature in order to continue using this product.

    What we are trying to have is 5 seperate lines with an x axis for datetime.  But at each time point only one of the lines will have an actual measurement.

    Is this something that will be supported in the very near future?

    Matthew
  4. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 11 Feb 2010 Link to this post

    Hello Matthew,

    Our current plans are to include this feature for the Q2 2010 release.

    All the best,
    Joshua
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  5. Alexey Oyun
    Alexey Oyun avatar
    74 posts
    Member since:
    Mar 2010

    Posted 13 Jul 2010 Link to this post

    Hi,
    Does this feature implemented in Q2 2010? I am currently working on Q2 beta and it seems that we can't assign null to YValue.

    I am hunting all requests for this feature, since I don't want to write hack methods to overcome this problem. Here are other posts on this topic.

    http://www.telerik.com/community/forums/silverlight/chart/missing-point-charts.aspx
    http://www.telerik.com/community/forums/silverlight/chart/chart-drawing-with-null-yvalue.aspx

    We also need this feature for our product.

    Thanks, Alex.
  6. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 15 Jul 2010 Link to this post

    Hi Alexey,

    Unfortunately, we had to reschedule this feature and it is yet to be developed.

    Best wishes,
    Joshua
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Alexey Oyun
    Alexey Oyun avatar
    74 posts
    Member since:
    Mar 2010

    Posted 15 Jul 2010 Link to this post

    That is really bad news for me. Since in real life application you almost never have ideal data. There is always some data missing :(

    Could you post link in PIT so we could vote for it.

    Alex.
  8. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 20 Jul 2010 Link to this post

    Hello Alexey,

    Here is the PITS link: http://www.telerik.com/support/pits.aspx#/public/silverlight/2696

    Kind regards,
    Joshua
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  9. Richard
    Richard avatar
    2 posts
    Member since:
    May 2011

    Posted 01 Jun 2011 Link to this post

    Has this been completed?  I see it's slated for Q2 of 2011....

  10. Sia
    Admin
    Sia avatar
    766 posts

    Posted 02 Jun 2011 Link to this post

    Hello Richard,

    Here is what we have currently. RadChart supports empty values in a three possible ways - Zero, Drop and Gap.

    Regards,
    Sia
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top