Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » [chart] rendering and resolution
[chart] rendering and resolution [message #975929] Thu, 08 November 2012 07:23 Go to next message
moritz du is currently offline 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 #976855 is a reply to message #975929] Thu, 08 November 2012 22:29 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1595
Registered: July 2009
Senior Member

What's your BIRT version?

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: [chart] rendering and resolution [message #977387 is a reply to message #976855] Fri, 09 November 2012 08:43 Go to previous messageGo to next message
moritz du is currently offline moritz du
Messages: 98
Registered: February 2010
Member
4.2
Re: [chart] rendering and resolution [message #981394 is a reply to message #977387] Mon, 12 November 2012 11:26 Go to previous messageGo to next message
moritz du is currently offline moritz du
Messages: 98
Registered: February 2010
Member
i think this need a push to compensate the weekend gap.
Re: [chart] rendering and resolution [message #982429 is a reply to message #981394] Tue, 13 November 2012 05:57 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1595
Registered: July 2009
Senior Member

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!



Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.

[Updated on: Tue, 13 November 2012 05:59]

Report message to a moderator

Previous Topic:install "Adobe Flash Builder 4.6 Plug-in Utility" error
Next Topic:Calculate grand total in crosstab for months range
Goto Forum:
  


Current Time: Mon Sep 22 10:24:57 GMT 2014

Powered by FUDForum. Page generated in 0.01839 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software