![]() | 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: | AV when filling a TSurfaceSeries with NumXValues=1 | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | ||
| Priority: | Lowest | ||
| Version: | 140923 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?p=67666#p67666 | ||
| Chart Series: | Surface 3D | Delphi / C++ Builder RAD IDE Version: | |
This gives an AV at SortCells when drawing the TSurfaceSeries: uses TeeConst, Chart, TeeSurfa; var Chart1: TChart; procedure TForm1.FormCreate(Sender: TObject); begin Caption:=TeeMsg_Version; Chart1:=TChart.Create(Self); Chart1.Parent:=Self; Chart1.Align:=alClient; Chart1.View3DOptions.Orthogonal := False; //Chart1.Aspect.Rotation:=300; // works fine with Chart1.AddSeries(TSurfaceSeries) as TSurfaceSeries do begin NumXValues := 1; FillSampleValues; end; end; If you increment NumXValues or set a Rotation=300 then it works without problems.