|
|
Re: How to Make Reports Attractive [message #805380 is a reply to message #804566] |
Thu, 23 February 2012 17:35 |
|
You can easily import pre-created styles that make the report look nice.
Alternating colors is also simple (Attached example with imported
style sheet. css is included so you can use in your reports)
See this post:
http://birtworld.blogspot.com/2006/04/get-some-style.html
For libraries and templates you may want to look at this:
http://www.theserverside.com/news/1364376/Using-Eclipse-BIRT-Report-Libraries-and-Templates
Jason
On 2/22/2012 2:39 PM, Birt Unmitigated wrote:
> Hi again,
>
> So I made my first report, and Birt kind of just throws the data on the
> screen.
>
> I'd like some formatting niceties such as alternating colors for
> alternating table rows, spacing between report elements, and getting rid
> of the date at the bottom of the report.
>
> Are there any default themes that do some of this stuff? It seems like
> it would be a very nice feature to add if not.
>
> (I'm coming from SQL Server Reporting Services (SSRS) which let's you
> choose between 10 or so different styles when you create a report. When
> you're just trying to do something fast, it really comes in handy.)
>
> Thanks again,
>
> B
-
Attachment: example.zip
(Size: 3.48KB, Downloaded 238 times)
|
|
|
Re: How to Make Reports Attractive [message #805438 is a reply to message #804906] |
Thu, 23 February 2012 19:17 |
|
Rohit,
I apologize, I did not see that you already responded.
Jason
On 2/23/2012 12:57 AM, Rohit Lambi wrote:
> Hi,
>
> 1. For alternating colors for alternating table rows :
> You can find "Highlights" tab in the "Property Editor" tab of a detail
> row of Table where you can specify a condition on which color of rows
> should be decided. You can set alternate colors for alternate rows or
> even for a specific value or range of values from dataset fields.
>
> First declare a variable on initialise event of report as say "rowCount
> = 0;"
> Then increment this variable on onCreate event of table detail row
> "rowCount = rowCount + 1;".
>
> Select detail row of table
> Go to to the Property Editor -> Highlights tab
> Specify condition say "rowCount % 2 Equal to 0" and choose colours below
> Similarly add another condition "rowCount % 2 Equal to 1" and choose
> colours.
>
> 2. For spacing between report elements :
>
> Instead of placing the report elements directly on the report, you can
> insert a grid element as a container for all of your report elements and
> place all your report elements in different grid cells. Then you can
> easily increase or decrease space between the elements by just dragging
> particular grid cell's border.
>
> 3. For getting rid of the date at the bottom of the report :
>
> Click on "Master Page" tab scroll down to the bottom where you can find
> a text element at the footer and delete it.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02683 seconds