Posts Tagged ‘charts’

On this blog we have often talked about overriding the default behaviour of the BIRT chart palette by dynamically setting colours based on data values. However, it is perhaps worth looking in more detail at the palette itself to understand the default behaviour and appreciate how it can be tweaked. Each chart has a palette. […]

Friday, June 3rd, 2011 at 14:31 | 0 comments
Tags: ,

In what is rapidly becoming a mini-series, we have so far discussed how to set BIRT chart palette dynamically (based on category values) for pie charts and area charts. Today we cover stacked bar charts, i.e. bar charts with the Optional Grouping data element. Once again, let’s start with a quick recap. In what is […]

Thursday, September 9th, 2010 at 13:09 | 6 comments
Tags: ,

Series labels can be shown in BIRT area charts by opening the Chart Wizard and navigating to the Format Chart tab, then selecting Series > Value (Y) Series > Show Series Labels checkbox. The result will look as shown in the screenshot below: Often there is one particular grouping (series) which is especially important and […]

Thursday, September 9th, 2010 at 12:43 | 0 comments
Tags: ,

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 | 7 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 | 9 comments
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 | 1 comment
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 | 1 comment