Page 1 of 1

How to create high-resolution bitmaps of OpenGL charts

Posted: Thu Jun 04, 2009 7:05 am
by 10547842
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

Posted: Thu Jun 04, 2009 8:39 am
by yeray
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.

Posted: Thu Jun 04, 2009 1:16 pm
by 10547842
Hi Yeray,

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

best regards,

xray

Posted: Thu Jun 04, 2009 2:08 pm
by yeray
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.