How to create high-resolution bitmaps of OpenGL charts

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
xray
Newbie
Newbie
Posts: 15
Joined: Thu Dec 20, 2007 12:00 am

How to create high-resolution bitmaps of OpenGL charts

Post by xray » Thu Jun 04, 2009 7:05 am

Hi TChart Team,

to create high-quality/high-resolution bitmaps from OpenGL surface series I tried to export bitmap (.BMP) files with higher resolution by activating the Chart editor, selecting the Export page and entering a size of for example 3000 pixels width. If I save the BMP file with these settings I get a huge bitmap (as expected) but only a small part of the chart is visible the rest is clipped.
You can see this behavior if you run for example the TChart 8 all features example and try this for: Components => OpenGL => Surface. Another problem you can see there is that the higher you choose the resolution (width of the bitmap) the smaller the font size will be. I would consider that as another bug
Is there any workaround to produce high-resolution pictures of OpenGL charts?

best regards,

xray

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Jun 04, 2009 8:39 am

Hi xray,

It seems that forcing your chart to be orthogonal, the bitmap looks good:

Code: Select all

Chart1.Aspect.Orthogonal := true;
Anyway, I'll add this to the wish list to be revised for further releases.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

xray
Newbie
Newbie
Posts: 15
Joined: Thu Dec 20, 2007 12:00 am

Post by xray » Thu Jun 04, 2009 1:16 pm

Hi Yeray,

the size of the chart is fine if I choose "orthogonal" but the font size is still ridiculously small!

best regards,

xray

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Jun 04, 2009 2:08 pm

Hi xray,

Excuse me, I've missed the fonts issue. Yes I've now reproduced it and added to the wish list to be fixed in further releases (TV52014215).
If you can you could try to change your font sizes to really big sizes just before the bitmap creation. They would look horrible in the program but nice in the bitmap. And once exported you could restore the default font sizes.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply