I've ran into an issue with a TChart and TLineSeries. If if I enter an X value around 1818 and an Y value of 0 with AddXY() right off the bat I get 'invalid pointer operation'.
Here's an example function:
procedure TForm1.Button2Click(Sender: TObject);
var
VMinValue: Extended;
begin...
A simple function example:
begin
if not Assigned(FArray[AIndex]) then
FArray[AIndex] := CreateItem(AIndex);
Result := FArray[AIndex];
end;
where FArray is a dynamic array of objects. It seems that Assigned() doesn't work well here. For example, when Length(FArray) = 1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.