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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ChartWebControl & DBNull

Thread ID:





93629 Mar 25,2010 12:07 PM UTC Mar 31,2010 05:50 AM UTC ASP.NET Web Forms (Classic) 1
Tags: Chart
Matthias Max
Asked On March 25, 2010 12:07 PM UTC


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

Jaffersathick B [Syncfusion]
Replied On 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.


series.Points[0].IsEmpty = true;

Please let me know if you have any other concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon