Profile Picture

NPointSeries with NaN Values does not work with NLineSeries anymore

Posted By joern kunze 5 Years Ago

NPointSeries with NaN Values does not work with NLineSeries anymore

Author
Message
joern kunze
Problem Posted 5 Years Ago
View Quick Profile
Junior Member

Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 86, Visits: 221
Hi Experts,
after updating to Version 19.7 from Version 18.1 I am experiencing a problem when mixing NPointSeries with some NaN values and NLineSeries ("RefLine" in the following picture): the NaN values are drawn at an Y value between the adjacent valid Y-values of the serie:
   oPlotSeries.Series_Label = "SeriesLabel";
    oPlotSeries.X = new double[] { 1.1, 2.2, 3.3, 4.4 };
    oPlotSeries.Y = new double[] { 10.1, double.NaN, double.NaN, 30.3 };

Plot_ReferenceLine oRefLine = new Plot_ReferenceLine(new double[] { 1.0, 2.2 }, new double[] { 15.0, 15.0 }, Color.Red, 3);



How can a avoid that NaN-Values are plotted ?

Thanks for your help,
Best regards,
Joern




Similar Topics


Reading This Topic