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.Why? NaN is NaN. This baffles me....Overloading IsNan can never be correct.
TDoublePoint = record
X, Y: Double;
end;
So yes, if you want to have an IsNan function that works with it, you need an overload.
Why? Whats's wrong with this?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.Why? NaN is NaN. This baffles me....Overloading IsNan can never be correct.