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.
Unfortunately, activation email could not send to your email. Please try again.

ChartWebControl & DBNull

Thread ID:

Created:

Updated:

Platform:

Replies:

93629 Mar 25,2010 08:07 AM Mar 31,2010 01:50 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Chart
Matthias Max
Asked On March 25, 2010 08:07 AM

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

Jaffersathick B [Syncfusion]
Replied On March 31, 2010 01:50 AM

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

CONFIRMATION

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.

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.

;