Hi,
It looks as if the new version of TChart uses GDI+ by default. Most of the charts look really good. However, some interactive charts seems a little slow. Is there a way to go back to vanilla GDI rendering.
I right clicked and selected options and then the "Chart Gallery" tab. It says the chart is being rendered as GDI, but from the anti-aliasing it must be GDI+ (unless there is some sort of GDI anti-aliasing going on). Also what does Mode do (Normal and Alternate) do?
Thanks,
Steve
GDI & GDI+...
Re: GDI & GDI+...
Hi Steve,
Different things here.
It can't be seen in the preview chart in the dialog, but you'll see the change if you drop a new chart into a form.
Different things here.
Change the "Render" option at the "New Chart" tab in the "Options..." dialog, from GDI+ to GDI:Steve Maughan wrote:It looks as if the new version of TChart uses GDI+ by default. Most of the charts look really good. However, some interactive charts seems a little slow. Is there a way to go back to vanilla GDI rendering.
It can't be seen in the preview chart in the dialog, but you'll see the change if you drop a new chart into a form.
This option is to change it for the charts that are created to show the Series Gallery: However, I see this option doesn't take effect. We'll try to fix in for next releases (TV52016653).Steve Maughan wrote:I right clicked and selected options and then the "Chart Gallery" tab. It says the chart is being rendered as GDI, but from the anti-aliasing it must be GDI+ (unless there is some sort of GDI anti-aliasing going on).
Alternate mode activates the new series gallery "alternate" mode, that looks different:Steve Maughan wrote: Also what does Mode do (Normal and Alternate) do?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 48
- Joined: Tue Aug 03, 2010 12:00 am
Re: GDI & GDI+...
Thanks Yeray!
I upgrading my application from XE3 with the previous version of TeeChart to the latest i.e. I'm not creating new charts. How do I change the rendering of the charts which have already been created to either GDI or GDI+?
Thanks,
Steve
I upgrading my application from XE3 with the previous version of TeeChart to the latest i.e. I'm not creating new charts. How do I change the rendering of the charts which have already been created to either GDI or GDI+?
Thanks,
Steve
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: GDI & GDI+...
Hi Steve,
You can do it either at design-time (as Yeray explained) or at run-time as shown here:
You can do it either at design-time (as Yeray explained) or at run-time as shown here:
Code: Select all
uses VCLTee.TeCanvas;
procedure TForm1.FormCreate(Sender: TObject);
var GdiP: Boolean;
begin
GdiP:=False;
if GdiP then
Chart1.Canvas:=TGDIPlusCanvas.Create
else
Chart1.Canvas:=TTeeCanvas3D.Create;
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 |