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

EmtyValuesMode.Zero

3 Answers 60 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Mohamed
Top achievements
Rank 1
Mohamed asked on 08 May 2008, 07:27 PM

Hello,

I’m using VS 2008, framework 3.5, and RadChart for ASPNET AJAX Q1 2008.

I’m binding the some data to the RadChart; one of the fields = NULL. I’m trying to disable the “Approximation”, i.e. set EmtyValuesMode.Zero through code behind.  How can I do that?

Thanks,
Moe

3 Answers, 1 is accepted

Sort by
0
Accepted
Ves
Telerik team
answered on 09 May 2008, 06:07 AM
Hello Mohamed,

You can use the following line after RadChart is databound:

RadChart1.Series[0].Appearance.EmptyValue.Mode = Telerik.Charting.Styles.EmtyValuesMode.Zero;

You can repeat this for all series in the chart.

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mark
Top achievements
Rank 1
answered on 01 Oct 2008, 06:15 AM
Is it possible to set the EmptyValue mode so that when data values are null, nothing appears? 
0
Mark
Top achievements
Rank 1
answered on 01 Oct 2008, 06:33 AM

Its OK,

series1.Appearance.EmptyValue.Line.Color = System.Drawing.

Color.Transparent;

seems to work.

Tags
Chart (Obsolete)
Asked by
Mohamed
Top achievements
Rank 1
Answers by
Ves
Telerik team
Mark
Top achievements
Rank 1
Share this question
or