| [chart] rendering and resolution [message #975929] |
Thu, 08 November 2012 02:23  |
moritz du Messages: 98 Registered: February 2010 |
Member |
|
|
I am rendering charts with some labels rotated by 45°. This makes the font look bad. So i googled around and found:
http://www.birt-exchange.org/org/forum/index.php/topic/11781-poor-chart-font-quality/
but the solution there doesn't work so i tired this
dRenderer.setProperty(IDeviceRenderer.DPI_RESOLUTION, new Integer(300));
from here but this doesn't work neither.
actually neither the line above nor
bo.scale(72d / dRenderer.getDisplayServer().getDpiResolution());
seem to have any effect (neither separately nor together)?!
So what does those lines do and how they work? is there a way to get a better render quality by adjusting the resolution? or is this all bullshit?
|
|
|
|
|
|
| Re: [chart] rendering and resolution [message #982429 is a reply to message #981394] |
Tue, 13 November 2012 00:57  |
|
You could try something like this in your beforeFactory:
importPackage(Packages.org.eclipse.birt.report.engine.api);
reportContext.getAppContext().put( EngineConstants.APPCONTEXT_CHART_RESOLUTION, 500 );
Let me know. This works for older versions, in PDF. For newer versions, last I checked, it seemed to just allow for closer zooming with no further clarification. If it doesn't help the clarity. Please search the bugs to see if this is already reported. If not, please do so. Thanks!
Regards,
Michael Williams
BIRT Exchange
Michael's BIRT Blog
[Updated on: Tue, 13 November 2012 00:59] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01696 seconds