We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ChartWebControl & DBNull

Hi,

we use data from oracle inside a dataset and hand this over to the ChartWebControl. However if a NULL data value is in the data an error occurs "converting DBNull to Double not possible". How can I make the chart handle DBNulls as if there was no value but print the label/caption anyway for that record? Is the control able to handle DBNulls at all?

Thank you

1 Reply

JB Jaffersathick B Syncfusion Team March 31, 2010 05:50 AM UTC

Hi Matthias,

Thank you for your interest in Syncfusion products.


We suggest you to check for the null values and set the property of point as isempty as true.This will take the series point as empty.

[CS]

series.Points[0].IsEmpty = true;




Please let me know if you have any other concerns.

Regards,
Jaffer.B

Loader.
Live Chat Icon For mobile
Up arrow icon