I assigned an array of series points to a PointLineSeries in ViewXY. After that, I tried to get the min value from the Y axis using the below:
Code: Select all
double minVal = 0, maxVal = 0;
ownerView.YAxes[pls.AssignYAxisIndex].GetSeriesMinMax(out minVal, out maxVal);
Code: Select all
seriePtsTemp.Select(pt => pt.Y).Min()
As far as the maxVal is concerned, the value matches with Max() to the highest precision.
This happens only the 1st time when I am creating the PointLineSeries (I am adding the pls to the PointLineSeries list of ViewXY before running above statements).
Thanks.
Regards,
Lokesh