Skip to main content



      Home
Home » Archived » BIRT » Background color - border visible
Background color - border visible [message #142593] Fri, 10 March 2006 04:21 Go to next message
Eclipse UserFriend
Hello,

I have a report where I set a background color (light green) in the
masterpage.
In PDF output the background color is ok, shared all over the page.
But in HTML format there appears a white border (left side, top side, right
side) and in the bottom a big white area.
(see attachment birt.jpg)

How can I achieve that the whole webbpage appears in light green without any
whiteborder (like in PDF output)?

Thanks!



  • Attachment: birt.jpg
    (Size: 65.25KB, Downloaded 113 times)
Re: Background color - border visible [message #142826 is a reply to message #142593] Fri, 10 March 2006 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

I tried also to use the predefined CSS style 'report', to change the style_0
of the report, but it seems it has no effect neither.

If I change e.g. the font-familiy of the 'report' style then I see the
changed font-family style within the source of the HTML page under style_0.
But if I change the background-color within the 'report' style and preview
my report, nothing happens.
If I look into the HTML source again, I expect to see a 'background-color:'
attribute within style_0, but it is'nt there!?!

So how can I get rid of this white border arround my chart?
1. I tried using the masterpage backgound color --> no effect
2. I tried to use the predifined 'report' style, backround-color:
attribute --> does not aapear in style_0

So any further ideas?
Re: Background color - border visible [message #142899 is a reply to message #142593] Fri, 10 March 2006 11:37 Go to previous message
Eclipse UserFriend
Hello,

I had a third idea how to solve the 'white-border' problem.
In the initialize method of the report I can choose 'this' from the context.

So I added following code to the initialize-trigger:

this.getStyle().backgroundColor = "red";

After running the report still no success, I get error messages, therefore
please see attachment birt.jpg.

So I'll get crazy, isn't there a way BIRT offers, but which is also
working???
Thanks!


  • Attachment: birt.jpg
    (Size: 231.89KB, Downloaded 97 times)
Previous Topic:How to smooth bad data?
Next Topic:How about shapes in BIRT
Goto Forum:
  


Current Time: Sat May 10 18:26:20 EDT 2025

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

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

Back to the top