Group: Forum Members
Last Active: 15 Years Ago
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.
|
Group: Forum Members
Last Active: 15 Years Ago
Posts: 13,
Visits: 1
|
Good Morning,
I have attempted an application containing three double lists for x, y and z values and a combobox containing all the series types for the user to select his/her desired chart type.
Basically I am trying to only include the list containing the z values for chart series types which contain a ZValues attribute. I have looked through the attributes properties and fail to see how I can achieve this.
If you could show me the right place to look in order to achive such it would be greatly appreciated.
Thank you in advance,
David
|