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

EmptyValues approximation in chart

1 Answer 38 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John Kok
Top achievements
Rank 1
John Kok asked on 10 Dec 2009, 10:44 AM
Ok i have an array that i bind to the chart, with the following values

17
18
0
0
0
22
23
0
24
0
0
21
0
18

I know there is supposed to be an EptyValue property that approximates the empty (0 ???) values, but how can i use it ?
Currently i don't see any results on the chart
I use a bar chart and as it is now, the 0 values do not get approximated

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 11 Dec 2009, 07:15 AM
Hi John,

By default RadChart will interpret null values as empty items. In this case you can wire ItemDataBound event and check the value of e.SeriesItem.YValue. If it is 0 you can set the Empty property to true.
 

All the best,

Ves
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.
Tags
Chart (obsolete as of Q1 2013)
Asked by
John Kok
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or