Dynamic coloring of PRD Charts

pillars

Pentaho Report Designer exposes the jFreeChart objects of charts to a post-processing script. This opens up some interesting possibilities. This post shows some techniques to dynamically change the appearance of a chart. All samples are available in the download package. Let’s play!

Using Colors straight from the Data

In some circumstances it’s useful to get colors straight from . . . → Read More: Dynamic coloring of PRD Charts

Color Coding and PRD Charts

order_color_coding

Maintaining consistent color coding for metrics on PRD charts can be a bit challenging, as chart colors are defined statically with no reference to a specific metric they belong to. This post shows how to maintain consistent relationships between colors and metrics in PRD charts using two different approaches. Get the sample reports from the downloads . . . → Read More: Color Coding and PRD Charts

Book review: JasperReports 3.6 Development Cookbook

jasper_img_200

JasperReports 3.6 Development Cookbook by Bilal Siddiqui offers 8 chapters on about 380 pages of practical advice on working with iReport and the underlying JasperReports library.

The book starts off with the basics of putting a report together in iReport, explaining en passant how iReport and the JasperReports library work together to create the final report output.

In . . . → Read More: Book review: JasperReports 3.6 Development Cookbook

Date calculation in iReport

Screen Shot Date Calculations

When working with JasperServer, JasperReports, and iReport it is a common problem to perform date calculations. You would usually want to calculate dates to fill parameters when calling sub reports for example. iReport expressions offer a way to do calculations in Java or Groovy. But each calculation, like the definition of a parameter value, must consist of exactly one expression. When trying to define a complex date object, describing the last day of the last month for example, most people find it very difficult, if not impossible, to do this in a single expression. . . . → Read More: Date calculation in iReport