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 253

Summary: [TV52016153] Having a Smith series, if you turn 3D on and you set a Zoom different...
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-20 10:34:43 EST
Having a Smith series, if you turn 3D on and you set a Zoom different than 100, the XCircleGrid isn't drawn correctly.
The customer suggests this is because DrawXCircle method uses Arc() function to draw the lines while DrawRCircle uses EllipseWithZ() function, that works fine.
http://www.teechart.net/support/viewtopic.php?f=3&t=13192
uses TeeSmith;
procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.AddSeries(TSmithSeries).FillSampleValues();
  Chart1.View3D:=true;
  Chart1.View3DOptions.Zoom:=70;
end; [created:2012-04-12T17:27:32.000+01:00 reported by:yeray@steema.com reported in version:2012.05.120327 (TeeChart VCL)]
Comment 1 david berneda 2013-12-02 10:42:16 EST
Fixed.

New TCanvas3D.Arc overload method that accepts a "Z" coordinate as last parameter.

Smith series grid arcs are now correctly displayed when the chart is in 3D mode, but only for the "Orthogonal" perspective.

Chart1.View3D:=True;
Chart1.View3DOptions.Orthogonal:=True;

This already fixes drawing arcs with Zoom <> 100%.

For "pure 3D" (with rotation and elevation), the internal canvas code to draw arc would need to be rewritten, implemented as a loop of segments, which is not done yet.