Clearing data in a series, including Null indexes
Posted: Thu Jun 07, 2007 7:51 pm
I have a chart with a series added to it.
One of the indexes in this series is set to Null using the Series.SetNull(index) call.
I then wish to clear the series of all data and re-populate my series.
I do NOT wish to clear my color settings for this series or other line properties.
I call the Series.XValues.Clear() and Series.YValues.Clear() methods.
When I re-populate my series with data, I am NOT calling the .SetNull() method on any of the indexes in the series and yet I am still seeing holes in the graph at the location of the index that was originally set to be a Null point.
Does the Clear() method on XValues and YValues not clear the null settings for the indexes in those series?
How can I clear the list of indexes that are treated as Nulls?
What I am trying to avoid is destroying the Series completely and having to rebuild that Series from the ground up. I wish to keep the properties that have been assigned to this series but simply clear out all of the data.
We have not yet upgraded to v3 of the .NET controls so we are still on TeeChart v2 for .NET.
Thanks for your help once again.
Aaron
One of the indexes in this series is set to Null using the Series.SetNull(index) call.
I then wish to clear the series of all data and re-populate my series.
I do NOT wish to clear my color settings for this series or other line properties.
I call the Series.XValues.Clear() and Series.YValues.Clear() methods.
When I re-populate my series with data, I am NOT calling the .SetNull() method on any of the indexes in the series and yet I am still seeing holes in the graph at the location of the index that was originally set to be a Null point.
Does the Clear() method on XValues and YValues not clear the null settings for the indexes in those series?
How can I clear the list of indexes that are treated as Nulls?
What I am trying to avoid is destroying the Series completely and having to rebuild that Series from the ground up. I wish to keep the properties that have been assigned to this series but simply clear out all of the data.
We have not yet upgraded to v3 of the .NET controls so we are still on TeeChart v2 for .NET.
Thanks for your help once again.
Aaron