Page 1 of 1

2D Pie Charts not working with GDI+

Posted: Wed Jul 30, 2008 1:58 pm
by 10546890
Hello,

When using GDI+ canvas, the last slice of 2D pie charts is always drawn as transparent and all other slices are drawn with the color of the last slice.
This results in undoubtedly amusing, but not entirely production-ready 'pacman' image being drawn.

I could recreate this with TeeChart 8.02 by simply adding some values for a TPieSeries in a chart that uses a TGDIPlusCanvas. 3D pies did not have this problem.

Posted: Wed Jul 30, 2008 2:14 pm
by narcis
Hi tsiipola,

I'm not able to reproduce this using the TeeChartGDIPlus.exe demo shipped with TeeChart. Could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at or upload page.

Thanks in advance.

BTW: v8.03 VCL is in release candidate stage. I'm going to send you the URL to download it so that you can check if it works fine at your end using v8.03.

Posted: Wed Jul 30, 2008 2:19 pm
by narcis
Hi tsiipola,

As an update, GDI+ canvas demo can be now find in the new features demo shipped with the binary installers at All Features\Welcome!\3D Canvas\GDI+ Canvas.

Posted: Wed Jul 30, 2008 2:22 pm
by narcis
Hi tsiipola,

Sorry, I missed the part that this only happened with 2D pies. I have been able to reproduce the issue here now and added it (TV52013293) to the bug list to be fixed for next releases.

Posted: Thu Jul 31, 2008 7:20 am
by 10546890
Hi, glad to hear you reproduced the problem. This is a fairly big issue for us as the GDI+ support and pie charts are supposed to feature prominently in the next version of our software.
The GDI+ canvas demo seems useful, as I have some GDI+ issues left to report, and I might be able to find recreation steps for some of those using the demo.
Thank you for your efforts.

Posted: Mon Sep 08, 2008 12:34 pm
by 10546890
Hello again,

I'm wondering what the status of this issue is currently. Now that the radar chart is fixed, this is the largest remaining obstacle for us in taking the GDI+ functionality into use.

Posted: Mon Sep 08, 2008 12:38 pm
by narcis
Hi tsiipola,

Just checked that TV52013293 hasn't been fixed yet.

Posted: Mon Feb 23, 2009 2:50 pm
by narcis
Hi tsiipola,

This has been fixed now for next v8 maintenance release.

If you are a sourcecode customer you can fix the issue adding the line below as the last instruction in CalcArcAngles in TeeGDIPlus.pas

Code: Select all

  if EndAngle=0 then EndAngle:=361;