incorrect (no) display of bezier series

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
AHS
Newbie
Newbie
Posts: 3
Joined: Tue Jul 11, 2006 12:00 am

incorrect (no) display of bezier series

Post by AHS » Fri Apr 20, 2007 2:42 pm

When try to draw a 2D bezier, there is no line in the chart.
If switching to 3D, there is a 2D "border" line in the chart.

I need a correct display of a 2D bezier curve!

To demonstrate the false behaviour just take a look to the "Teechartgdiplus.exe", you can download (on 20th of april 2007) at steema site or just click this Link to Demo.

1. Extract and execute the Teechartgdiplus.exe file;
2. on coming up window click the edit button (the 7th button just right of "3D" button);
(the "Edting Chart1" window appears; Series1 is marked;)
4. press button "Change...";
5. on new "TeeChart Gallery" window press tab "Extended";
6. on panel "Extended" press "Bezier";
7. close "TeeChart Gallery" window by clicking on "OK" button;
8. close "Edting Chart1" window by clicking on "close" button;
9. now you see a 2D bezier curve, but it should be drawn as 3D; :shock:
10. click button "3D" to deactivate it and the curve vanishes; :shock:
11. click button "3D" again to reactivate the 2D curve, which should be the 3D one;
12. click radio button GDI+ and wonder about the displayed things :shock:

When you view the "Bezier" sample on the "Extended" tab panel on the "TeeChart Gallery" window, you see the same behaviour, if you toggle 3D.

How to fix this :?:

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Apr 24, 2007 11:23 am

Hi AHS,

Thanks for your report. This is certainly a bug (TV52012181) which I have added to our defect list to be fixed for future releases.

In the meantime there are 2 solutions:

1. Change BezierStyle as this only happens with bsWindows, for example:

Code: Select all

  Series1.BezierStyle:=bsBezier3;
2. Set Bezier series pointer to 2D and chart's 3D percent to the minimum value possible:

Code: Select all

  Series1.Pointer.Draw3D:=false;
  Chart1.Chart3DPercent:=1;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

AHS
Newbie
Newbie
Posts: 3
Joined: Tue Jul 11, 2006 12:00 am

Post by AHS » Wed Apr 25, 2007 6:19 am

Addition:
The bsBezier4 style works for 2D mode too:

Code: Select all

Series1.BezierStyle:=bsBezier4;
:)

Post Reply