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 - [TV52016153] Having a Smith series, if you turn 3D on and you set a Zoom different...
Summary: [TV52016153] Having a Smith series, if you turn 3D on and you set a Zoom diff...
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: All All
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 18:27 EDT by yeray alonso
Modified: 2013-12-02 10:42 EST (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.