Hello Patrick,
You cannot customize the interpretation of the EmptyValue for RadChart. We are not sure how are you binding the control to a list of pairs, however, Double.NaN is recognized and treated as an
empty value out-of-the-box when the control is bound to a simple list:
ASPX
<telerik:RadChart ID="RadChart1" runat="server"> |
</telerik:RadChart> |
Code-behind:
List<double> list = new List<double>(); |
|
list.Add(.2); |
list.Add(Double.NaN); |
list.Add(.8); |
|
RadChart1.DataSource = list; |
RadChart1.DataBind(); |
Sincerely yours,
Manuel
the Telerik team