Xvalues can't be DBnull?
Posted: 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.
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.