Posts Tagged ‘charts’

In a previous post we described how to set the series palette dynamically for a pie chart. A slightly different approach is required for area charts. Let’s recap on the problem at hand: in what is a fairly common scenario, one chooses the palette colours to match with particular category values. For example, in the [...]

Thursday, February 18th, 2010 at 14:08 | 3 comments
Tags: ,

BIRT series palette is static by default, meaning colours are applied in the specified order without being tied to the actual category values. This is ok in most cases, however consider the following scenario. In our data we expect three category values, “1-Low”, “2-Mid” and “3-High” and the chart series palette has been set to [...]

Wednesday, January 13th, 2010 at 18:05 | 1 comment
Tags: ,

It is possible to set the title of a chart dynamically, for example based on parameter values, using a little bit of scripting. The example below assumes that two parameters are defined (“Year” and “Month” with values such as “2010″ and “Jan”). function beforeGeneration( chart, icsc ) {     var sYear = icsc.getExternalContext().getScriptable().getParameterValue( “Year” );     var [...]

Wednesday, January 13th, 2010 at 12:55 | 1 comment
Tags: ,

The BIRT chart wizard provides an option to skip missing values in a series and connect them with the series line; however, there is no option to substitute a default value for the missing data. The screenshot below shows a chart where the series value is missing for category value 03-MAR and the “Connect Missing [...]

Thursday, November 19th, 2009 at 18:26 | 0 comments
Tags: ,

In the legend properties for BIRT meter charts (accessed via Format Chart > Chart Area > Legend) there is a Show Value checkbox which controls displaying the series value together with its name. For some reason, in the Entries the dialog the Format control appears to be disabled, and so there is no way to [...]

Tuesday, July 28th, 2009 at 17:11 | 0 comments
Tags: ,

BIRT has a wonderful meter chart type which is very useful for building KPI-based performance dashboards. However, it can be a little tricky to get the visual layout of the chart right. With default settings most of the chart is empty blank space with a relatively small dial in the middle. This is because the [...]

Tuesday, July 28th, 2009 at 15:50 | 0 comments
Tags: ,

There’s a strange bug in BIRT charting with Firefox on Linux. Some charts are rendered with horizontal and vertical scrollbars, sort of like an embedded frame which is too big to fit in the allocated space. The fix for this annoyance is straightforward, simply change the output format from SVG to PNG on the first [...]

Wednesday, July 15th, 2009 at 15:27 | 0 comments
TOP