Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 duFriend
Messages: 102
Registered: February 2010
Senior 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 WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

What's your BIRT version?

Michael

Developer Evangelist, Silanis
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 duFriend
Messages: 102
Registered: February 2010
Senior 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 duFriend
Messages: 102
Registered: February 2010
Senior 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 WilliamsFriend
Messages: 1925
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

Developer Evangelist, Silanis

[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: Fri Apr 26 07:59:33 GMT 2024

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

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

Back to the top