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

Dotted line for empty[null] values

7 Answers 102 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Sowjanya
Top achievements
Rank 1
Sowjanya asked on 15 Jul 2013, 06:49 AM
Hi Team,
 We have purchased RadControls_for_Silverlight5_2013_1_0403_Dev.msi. We have a requirement, where if we have a null value in the collection.. we have to show a dotted line in Rad Chart line series, that looks like connecting points. Currently by default it is shown as a gap between point marks, which is so annoying.

Please help me!

7 Answers, 1 is accepted

Sort by
0
Sowjanya
Top achievements
Rank 1
answered on 16 Jul 2013, 08:42 AM
Can someone help me out with this... This is an important requirement user like to see...
0
Petar Kirov
Telerik team
answered on 17 Jul 2013, 02:54 PM
Hi Sowjanya,

RadChart provides three EmptyPoint Behaviors out-of-the-box. I have attached screenshots of the three modes.

The closest functionality to what you require that is available out-of-the-box is Drop. If this is good enough for you, then you can enable it by setting *SeriesDefinition.EmptyPointBehavior to EmptyPointBehavior.Drop

If you however require dotted line over empty points, then you use the workaround demonstrated in the attached project. It requires using a separate series for the dotted effect and a separate ItemsSource.

I hope this helps.
 

Regards,
Petar Kirov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Akbar
Top achievements
Rank 1
answered on 28 Oct 2015, 11:27 AM

Hi Team,

 i have checked Gap-default.png image which you attached..what's the pie and pyramid series for that same values

Regards,

Akbar Basha KM.

0
Akbar
Top achievements
Rank 1
answered on 28 Oct 2015, 12:14 PM
Can someone help me out with this... ASAP
0
Martin Ivanov
Telerik team
answered on 02 Nov 2015, 11:44 AM
Hello Akbar Basha,

I am not sure that I understand you requirement. The Gap mode is applied for empty values which have sense in a Cartesian chart visualization. On the other side I am not sure how the empty value should be drawn as a gap in pie chart. The size of the slices depends on the data point's value and if there is not value nothing should be drawn. In RadChart's PieSeries definition the Gap mode is the same as the Drop mode - the empty data points are not drawn on the pie.

Also, I want to note you that RadChart is out old charting component which has many known issues and limitations. Instead I recommend using the new RadChartView suite that has better implementation and improved performance. You can read about the differences between the charts in the RadChart vs. RadChartView help article. 

Regards,
Martin
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Chintan
Top achievements
Rank 1
answered on 22 Jan 2016, 07:02 AM

Hi, I need to know how can i use the empty point behavior to drop for my line series in winform chartview

 

0
Martin Ivanov
Telerik team
answered on 22 Jan 2016, 08:04 AM
Hello Chintan,

Note that this is the RadChartView for Silverlight section of the forum. Can you please post your question in the corresponding forum - UI for WinForms.

Regards,
Martin
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
Sowjanya
Top achievements
Rank 1
Answers by
Sowjanya
Top achievements
Rank 1
Petar Kirov
Telerik team
Akbar
Top achievements
Rank 1
Martin Ivanov
Telerik team
Chintan
Top achievements
Rank 1
Share this question
or