Delphi XE2 prerelease - shadow of bar series look strange
Delphi XE2 prerelease - shadow of bar series look strange
Hi.
I am using the Delphi XE2 prerelease of TreeChart Pro V2011 and just wanted to report that the shadow of a bar series is looking quite strange with this version.
Before:
Now:
Will the shadow be corrected in the official release version?
best regards.
I am using the Delphi XE2 prerelease of TreeChart Pro V2011 and just wanted to report that the shadow of a bar series is looking quite strange with this version.
Before:
Now:
Will the shadow be corrected in the official release version?
best regards.
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hello Marder,
PS: I assume you meant "pie series" where you said "bar series", according to the pictures.
You are right, it worked fine in v2011.03 but in v2011.04. I've added it to the defect list to be fixed asap (TV52015903).marder wrote:I am using the Delphi XE2 prerelease of TreeChart Pro V2011 and just wanted to report that the shadow of a bar series is looking quite strange with this version.
PS: I assume you meant "pie series" where you said "bar series", according to the pictures.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hello Yeray.
This would be great!
Best regards.
Yes, I meant "pie"I assume you meant "pie series"
Could you please send me a fixed prerelease version when you have fixed this issue?I've added it to the defect list to be fixed asap
This would be great!
Best regards.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hi marder,
I have logged your request in the issue description.
I have logged your request in the issue description.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hi.
I wonder if there might be a fix for this issue in the official release of the upcoming V2012.07?
Best regards.
I wonder if there might be a fix for this issue in the official release of the upcoming V2012.07?
Best regards.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hi marder,
Build 2012.07.121105, the version we published yesterday, is the official 2012.07 release.
The bug hasn't been fixed yet but we found where the problem is. Since you are a source code customer you may want to try implementing TTeeCanvas3D.SmoothShadow at TeCanvas.pas like this:
That's similar to how it was implemented before introducing the bug. Now we will investigate the reason for this change and try to find a permanent fix for the issue.
Build 2012.07.121105, the version we published yesterday, is the official 2012.07 release.
The bug hasn't been fixed yet but we found where the problem is. Since you are a source code customer you may want to try implementing TTeeCanvas3D.SmoothShadow at TeCanvas.pas like this:
Code: Select all
procedure TTeeCanvas3D.SmoothShadow(Shadow:TTeeShadow; const Rect:TRect;
Ellipse:Boolean; RoundSize:Integer;
const P:Array of TPoint;
DonutPercent:Integer=0;
const Z:Double=0);
begin
if Shadow.Smooth and (not Metafiling) {$IFNDEF FMX}and Assigned(FBitmap){$ENDIF} then
Shadow.InternalDrawSmooth(Self,
CalcRect3D(Rect,Round(Z)),
Ellipse,RoundSize,P,DonutPercent)
else
inherited;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hi Narcis.
I downloaded final version V2012.07.
After installation I run "TeeRecompile.exe" and get the following error:
===============================================
TeeChart Pro
Compilation started: 09.11.12 13:39:22
RAD XE2.Win32 v16 Architect (RAD XE v9 Architect)
EXCEPTION:
Text: unit TeeChart not found in TeeChart.pas
--------------------------------------------
How can I get it to run?
Best regards.
I downloaded final version V2012.07.
After installation I run "TeeRecompile.exe" and get the following error:
===============================================
TeeChart Pro
Compilation started: 09.11.12 13:39:22
RAD XE2.Win32 v16 Architect (RAD XE v9 Architect)
EXCEPTION:
Text: unit TeeChart not found in TeeChart.pas
--------------------------------------------
How can I get it to run?
Best regards.
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hi Marder,
Please, remove the TeeChart.pas file and try it again.
Please, remove the TeeChart.pas file and try it again.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hi Yeray,
Thank you that worked.
The shadow is again drawn as expected.
Please let me know when there is a new maintenance release including this fix.
Until then I will use the customization.
Best regards.
Thank you that worked.
The shadow is again drawn as expected.
Please let me know when there is a new maintenance release including this fix.
Until then I will use the customization.
Best regards.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Delphi XE2 prerelease - shadow of bar series look strange
Hi marder,
As an update, TV52015903 has been fixed for the next maintenance release. The fix is at the TPieSeries.DrawAllValues method, in Series.pas:
You should remove the change I suggested in TeCanvas.pas and change FShadow.DrawEllipse call as shown above.
As an update, TV52015903 has been fixed for the next maintenance release. The fix is at the TPieSeries.DrawAllValues method, in Series.pas:
Code: Select all
if FShadow.Visible then
FShadow.DrawEllipse(ParentChart.Canvas,
ParentChart.Canvas.CalcRect3D(CircleRect,tmpShadowZ),
tmpShadowZ,DonutPercent);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Delphi XE2 prerelease - shadow of bar series look strange
Dear Narcis.
Thank you!
I will give this a try soon.
Best regards
Thank you!
I will give this a try soon.
Best regards
Re: Delphi XE2 prerelease - shadow of bar series look strange
Dear Narcis.
The new fix seems to work correctly.
Thanks for your help!
Best regards.
The new fix seems to work correctly.
Thanks for your help!
Best regards.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Delphi XE2 prerelease - shadow of bar series look strange
Dear Marder,
Thanks for your feedback, I'm glad to hear that.
Thanks for your feedback, I'm glad to hear that.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |