Chart display with 2013 version

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ulibru
Newbie
Newbie
Posts: 11
Joined: Mon Dec 10, 2012 12:00 am

Chart display with 2013 version

Post by ulibru » Thu Jun 13, 2013 2:46 pm

Hi,

I have just installed Steema 2013. No problem with installation so far.

Recompiling an existing program shows the charts with a different graphic. So at first I notice that the frame looks different, there is a white frame inside, see
Image

A previously taken snapshot shows curves like
Image

but now it looks like
Image

So the picture looks pretty soft, the line width seems to be wider but is still the same 1 pixel. The axis scale is different too.

How to get back to the old display ith a much better contrast ? Which parameters are responsible for new display?

Best regards
Uli

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Chart display with 2013 version

Post by Sandra » Thu Jun 13, 2013 3:30 pm

Hello ulibru,
How to get back to the old display ith a much better contrast ?
If you want back to the old display you only need disable the GDi+ as do in next line of code:
unit uses:

Code: Select all

TeCanvas
Line code

Code: Select all

Chart1.Canvas:=TTeeCanvas3D.Create;
Which parameters are responsible for new display?
TeeChart moved the default Canvas from GDI to GDI+ in this version to improve its aspect.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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

ulibru
Newbie
Newbie
Posts: 11
Joined: Mon Dec 10, 2012 12:00 am

Re: Chart display with 2013 version

Post by ulibru » Thu Jun 13, 2013 3:49 pm

Hello Sandra,

thanks for your answer.
By playing with the charts and the component TTeeGDIPlus I have found that placing it on the form and connecting the chart removed the antialiasing. And the chart stays even correct (from my side of view) when the component is removed again.

I have investigated what happens. So the GDIPlus component has changed the default line
DefaultCanvas = 'TGDIPlusCanvas'
in the dfm file to
DefaultCanvas = 'TTeeCanvas3D'
So even no line of code is required.
But honestly speaking: it would be better to simply have access in the chart editor. How many users do you like to surprise? :D

Cheers, Uli

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

Re: Chart display with 2013 version

Post by Narcís » Fri Jun 14, 2013 8:01 am

ulibru wrote: But honestly speaking: it would be better to simply have access in the chart editor. How many users do you like to surprise? :D
This is already possible at Chart editor -> Chart -> 3D -> Render.
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

ulibru
Newbie
Newbie
Posts: 11
Joined: Mon Dec 10, 2012 12:00 am

Re: Chart display with 2013 version

Post by ulibru » Fri Jun 14, 2013 8:42 am

Thanks, Narcís.
I haven't found it before.

Uli

Post Reply