Steema Issues Database

Note: 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.



Bug 574

Summary: Access Violation rotating 3D plot
Product: VCL TeeChart Reporter: mjs
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED WORKSFORME    
Severity: critical CC: mjs, sandra
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: SurfaceRotationProblem

Description mjs 2014-02-13 06:56:23 EST
Code Version: 2013.09 (131217). Bug also appears in latest release version.

When rotating 3D plot (and grid gets outside control bounds?) an access violation occurs (possibly only when max on z-axis < 1?). It can be fixed by the following 2 beginning lines in TCustom3DGridSeries.ExistFourGridIndex in VCLTee.TeeSurfa:

Function TCustom3DGridSeries.ExistFourGridIndex(X,Z:Integer):Boolean;
begin
  Result := False;
  if (x < 0) or (z < 0) then Exit;
...

The access violation occurs because x = z = -1
Comment 1 sandra pazos 2014-02-13 10:59:25 EST
Hello,

Unfortunately we can't reproduce your problem here using latest Beta version we published in January 
Could you confirm us if your problem occurs using latest beta we published http://www.teechart.net/support/viewtopic.php?f=19&t=14567? In the case your problem persists, please attach here a simple example, where we can reproduce your problem, because we can find a good solution for your problem.

Thanks in advance,
Comment 2 sandra pazos 2014-02-19 07:46:41 EST
Created attachment 93 [details]
SurfaceRotationProblem

Many thanks for your project; We now can reproduce the problem. I have attached your project here, so we can investigate what causes produce it.