Xvalues can't be DBnull?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
DieterDHoker
Newbie
Newbie
Posts: 7
Joined: Fri Sep 07, 2007 12:00 am

Xvalues can't be DBnull?

Post by DieterDHoker » Tue May 05, 2009 4:14 pm

I have a Datatable as datasource, and the user can pick any of the columns as X or Y. I plot these values using a Fastline series and set TreatNulls to TreatNullsStyle.Skip.
This seems to work if Yvalues contain DBnull values, though if an Xvalue contains a DBnull value Tchart craches as it wants to cast DBnull to Double.
Is this indeed the behavior? Is it possible to also allow DBnull as XValues?
The Dataset can contain many thousands of records so I would prefer not having to filter the copy the dataset and filter it manually before i give it to Tchart as a datasource.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Post by Sandra » Wed May 06, 2009 10:48 am

Hello DieterDHoker,

I could reproduce I have added your request to the wish-list with nume with number [TF02014130] to be considered for inclusion in future releases.

Also, I recomend that if you want use DBNulls with XValues you can use Horitzontal Lien (HorizLine).


Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply