Skip to main content



      Home
Home » Archived » BIRT » [chart] rendering and resolution
[chart] rendering and resolution [message #975929] Thu, 08 November 2012 02:23 Go to next message
Eclipse UserFriend
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 17:29 Go to previous messageGo to next message
Eclipse UserFriend
What's your BIRT version?
Re: [chart] rendering and resolution [message #977387 is a reply to message #976855] Fri, 09 November 2012 03:43 Go to previous messageGo to next message
Eclipse UserFriend
4.2
Re: [chart] rendering and resolution [message #981394 is a reply to message #977387] Mon, 12 November 2012 06:26 Go to previous messageGo to next message
Eclipse UserFriend
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 00:57 Go to previous message
Eclipse UserFriend
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!

[Updated on: Tue, 13 November 2012 00:59] by 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: Thu Jul 03 11:03:21 EDT 2025

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

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

Back to the top