TAChart has an overload of IsNaN. If you have TAChartUtils in your uses clause, but not Math, your program will only find the overload for TDoublePoint. So, add Math to "uses" to solve the issue.
TDoublePoint = record X, Y: Double; end;
Quote from: wp on April 21, 2021, 10:16:00 amTAChart has an overload of IsNaN. If you have TAChartUtils in your uses clause, but not Math, your program will only find the overload for TDoublePoint. So, add Math to "uses" to solve the issue.Why? NaN is NaN. This baffles me....Overloading IsNan can never be correct.