I want to skip the "float.NaN" data.
Such as images "float.NaN" data is broken line.
To put a float array at a time because of performance ....
What to change FirstSampleTimeStamp properties as shown in the following code?
Code: Select all
for (int i = 0; i <value.Length; i ++)
{
if (float.IsNaN (value [i]))
{
series.FirstSampleTimeStamp + = 1 / samplingFrequency;
}
else
{
series.AddSamples (new float [] {value [object]}, false);
}
}