Home DevShare Designing BIRT Reports

Simple BIRT CSS Style Sheet Example

Share

by mwilliams

Forum - 10,000 postsDevShare - 100 postsBlog - 100 postsPoll Voter
Posted 30 Dec 2011 - 02:02 PM

(3)  (0)   (2173 views)

By downloading this item, you are agreeing to the Terms of Use for the site.

This example shows how you can use CSS style sheets to add some style to your design.

Birt Version:-2.5

This example uses a parameter to allow the user to select between two styles or the use of no style.  The CSS file is then assigned to the report in the beforeFactory method.  The example shows how to add styles for a grouped table, a crosstab, and a chart.  A chart only has limited styling available through CSS, though, so some extra script was added to the chart to change the bar color to match the report color theme.

This design was created with BIRT 2.5.0.

Download (9.12 KB)

By downloading this item, you are agreeing to the Terms of Use for the site.


 
Filter More