User (Legacy) Posted August 14, 2003 Author Report Share Posted August 14, 2003 Hi, my chart is data bound to a data table. As soon as I clear the rows in the table, the chart throws an Overflow exception. Is there a way to unwind the binding before clearing the rows, or do something else to aboid the exception that gets thrown? My 2ns question is if it is possible to avoid plotting zero y-values, while still keeping the x-values displayed (both in databound mode and normal mode)? Thank you for your assistance. Anton Link to comment Share on other sites More sharing options...
User (Legacy) Posted August 14, 2003 Report Share Posted August 14, 2003 Hi, my chart is data bound to a data table. As soon as I clear the rows in the table, the chart throws an Overflow exception. Is there a way to unwind the binding before clearing the rows, or do something else to aboid the exception that gets thrown? My 2ns question is if it is possible to avoid plotting zero y-values, while still keeping the x-values displayed (both in databound mode and normal mode)? Thank you for your assistance. Anton Link to comment Share on other sites More sharing options...
Software FX Posted August 16, 2003 Report Share Posted August 16, 2003 1) Try assigning, DataSource = null 2) What do you want to do with zero values ? skip them ? if so you will have to do this in your DataSet prior to passing it to the chart. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Software FX Posted August 16, 2003 Report Share Posted August 16, 2003 1) Try assigning, DataSource = null 2) What do you want to do with zero values ? skip them ? if so you will have to do this in your DataSet prior to passing it to the chart. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.