Page 1 of 1

Chart display with 2013 version

Posted: Thu Jun 13, 2013 2:46 pm
by 16564359
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

Re: Chart display with 2013 version

Posted: Thu Jun 13, 2013 3:30 pm
by 10050769
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,

Re: Chart display with 2013 version

Posted: Thu Jun 13, 2013 3:49 pm
by 16564359
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

Re: Chart display with 2013 version

Posted: Fri Jun 14, 2013 8:01 am
by narcis
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.

Re: Chart display with 2013 version

Posted: Fri Jun 14, 2013 8:42 am
by 16564359
Thanks, NarcĂ­s.
I haven't found it before.

Uli