|
Group: Forum Members
Posts: 13,
Visits: 1
|
Hello Again,
Sorry, I hope I haven't wasted anybody's time but I have worked out how to solve my problem.
I created an NDataSeriesCollection object, I then called its GetDataSeries method, including the ZValues DataSeriesMask, not excluding any DataSeriesMasks to save time and setting the parameter that forces explicit alignment to false.
All I needed to do then was only include the zvalues if the count of the result from GetDataSeries exceeded zero.
To summarise I did the following:
NDataSeriesCollection dataCollection = new NDataSeriesCollection();
dataCollection = chartSeries.GetDataSeries(DataSeriesMask.ZValues, DataSeriesMask.None, false);
if (dataCollection.Count > 0) { // Code to include ZValues. }
I hope this helps somebody in the same situation as I was in and I apologise if somebody had already started to reply to my previous post.
David.
|