![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Access violation in TFastLineSeries.Clear; | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | Stefan Bieringer <stefan.bieringer> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | regression | CC: | marc |
| Priority: | High | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | FastLine | Delphi / C++ Builder RAD IDE Version: | RAD 10.3 Rio |
Hello Stefan, Thanks for the feedback; we'll make the change. Regards, Marc |
I'am using verions: Build 2020.29.200113 Sorry, I don't know what I should choose in the version list above. I think there is a bug in file "VCLTee.Series" at line 1693. When I close my application ParentChart.Canvas could be nil. So this should be checked bevor trying to access the Canvas. procedure TFastLineSeries.Clear; begin inherited; // original code line if (ParentChart <> nil) then // I changed to this as a bugfix if (ParentChart <> nil) and (ParentChart.Canvas <> nil) then With ParentChart,Canvas do begin OldX := GetVertAxis.PosAxis; //LeftAxis.PosAxis; OldY := GetHorizAxis.PosAxis; //BottomAxis.PosAxis; if View3D then MoveTo3D(OldX,OldY,MiddleZ) else MoveTo(OldX,OldY); end; end;