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

How to Hide NULL Values In Line/Spline Line Charts

9 Answers 221 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Simon Chan
Top achievements
Rank 1
Simon Chan asked on 26 Nov 2009, 05:04 PM
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

9 Answers, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 01 Dec 2009, 09:40 AM
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.
0
Matthew
Top achievements
Rank 1
answered on 09 Feb 2010, 02:23 PM
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
0
Dwight
Telerik team
answered on 11 Feb 2010, 09:38 AM
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.
0
Alexey Oyun
Top achievements
Rank 1
answered on 13 Jul 2010, 03:10 PM
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.
0
Dwight
Telerik team
answered on 15 Jul 2010, 02:31 PM
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
0
Alexey Oyun
Top achievements
Rank 1
answered on 15 Jul 2010, 02:36 PM
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.
0
Dwight
Telerik team
answered on 20 Jul 2010, 07:19 AM
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
0
Richard
Top achievements
Rank 1
answered on 01 Jun 2011, 08:31 PM
Has this been completed?  I see it's slated for Q2 of 2011....

0
Sia
Telerik team
answered on 02 Jun 2011, 09:20 AM
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
Tags
Chart
Asked by
Simon Chan
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Matthew
Top achievements
Rank 1
Alexey Oyun
Top achievements
Rank 1
Richard
Top achievements
Rank 1
Sia
Telerik team
Share this question
or