Book Image

Pentaho 8 Reporting for Java Developers

By : Jasmine Kaur, Francesco Corti
Book Image

Pentaho 8 Reporting for Java Developers

By: Jasmine Kaur, Francesco Corti

Overview of this book

This hands-on tutorial, filled with exercises and examples, introduces the reader to a variety of concepts within Pentaho Reporting. With screenshots that show you how reports look at design time as well as how they should look when rendered as PDF, Excel, HTML, Text, Rich-Text-File, XML, and CSV, this book also contains complete example source code that you can copy and paste into your environment to get up-and-running quickly. Updated to cover the features of Pentaho 8, this book will teach you everything you need to know to build fast, efficient reports using Pentaho. If your interest lies in the technical details of creating reports and you want to see how to solve common reporting problems with a minimum of fuss, this is the book for you.
Table of Contents (25 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

Including charts in reports


Including charts in your Pentaho reports makes a difference because of two main reasons: it's powerful and it's easy. Pentaho charts are powerful because they give you the ability to represent complex information in a single image (the chart itself) with many different styles. They are easy because the inclusion of chart in a report can be easily done with a configuration (and not development), starting from a data source.

Note

Pentaho Reporting relies on JFreeChart. The JFreeChart project was founded in February 2000 and today it is the most widely used chart library for Java, with more than 2.2 million downloads to date.

To add charts to your report, drag the chart icon (

) from the Report Designer palette and drop it in the place where you want to see the chart. Usually, a chart is placed in a grouping band like Report Header or Group Header (and rarely on footers or Page Header). This is because a chart makes sense if used on a collection of data and not on single...