Home DevShare Designing BIRT Reports

SpudSoft Jensoft Charts for BIRT

Share

by Yaytay

Forum - 100 postsDevShare - 5 postsLeaderboard - 10 timesPoll Voter
Posted 29 Apr 2012 - 01:55 PM

(0)  (0)   (609 views)

A preview of a charting plugin to make open source BIRT charts prettier.

Birt Version:-3.7

This devshare submission qualifies for Plug In 2 BIRT Contest

Open source BIRT charts look drab.  Even after playing with the colours and fills, at best they look like they were designed last century.  This plugin is the first step in what will probably be a very long process of providing an improvement by making the lovely Jensoft charts available within BIRT.

I have begun by producing a Donut 3D chart:

Simple Donut 3D

Which has a few options for configuration:

Donut 3D Options

More options and chart types will be coming later.

At the moment there is no interactivity for the charts, I'm not sure how much I can achieve there because of the way the charts are rendered, we'll have to see.

There are few known issues with the plugins as they are right now, I'll be working on ironing those out in the next few weeks.

Installation

If using BIRT in an OSGi installation (i.e. within eclipse or with the OSGi report engine) installation is simply a case of copying the two jars (make sure you download a matched pair) into the plugin directory of eclipse.

If you are using the POJO report engine you need to copy the two jars into the CLASSPATH and also copy any jars in the lib folder within the plugin jars into the CLASSPATH.  At the time of writing this just means the jensoft-sw2d.jar jar from the lib folder inside the uk.co.spudsoft.birt.charts_* jar.

Comments can be left either here or on BitBucket.


Forum - 500 postsDevShare - 50 postsBlog - 25 postsPoll Voter

averma

Posted: 01 May 2012 - 04:09 PM

Hi Yaytay, thanks for sharing your plugin. However, I havent been able to use your chart. When I open the chart editor and select SJ Donut I dont see it in the preview or the final report. Switching to chart formatting tab gives a null point error.

Forum - 100 postsDevShare - 5 postsLeaderboard - 10 timesPoll Voter

Yaytay

Posted: 01 May 2012 - 09:48 PM

Well that's no good!What version of BIRT and JDK are you using (so far it's only tested on 3.7.2 with JDK 6)?Do you have a stack trace for the NPE?I've just uploaded a new version, but it has no explicit fixes for NPEs.

Forum - 100 posts

XFabien

Posted: 02 May 2012 - 07:01 AM

Thank you Yaytay.Is it possible for you to add some doc to explain a little about the plugin (ex : installation), that will be better for who don't know very well birt.

Forum - 500 postsDevShare - 50 postsBlog - 25 postsPoll Voter

averma

Posted: 02 May 2012 - 10:22 AM

I was trying it on version 3.7.1 using JRE 7. Using it with 3.7.2/JRE7 does not give null pointer error anymore but I am still unable to see the chart. It comes out blank both in chart editor preview and when report is run.

Forum - 100 postsDevShare - 5 postsLeaderboard - 10 timesPoll Voter

Yaytay

Posted: 02 May 2012 - 11:46 AM

XFabien,I've add a note on installation above, full documentation will be forthcoming (it's a way off, I need to finish the docs for my XLS emitter first!)

Forum - 100 postsDevShare - 5 postsLeaderboard - 10 timesPoll Voter

Yaytay

Posted: 02 May 2012 - 11:47 AM

averma,Would you be able to post a bug on https://bitbucket.org/yaytay/spudsoft-jensoft-charts-for-birt/issues with a sample report?I've also uploaded my test: https://bitbucket.org/yaytay/spudsoft-jensoft-charts-for-birt/downloads/ChartTest.rptdesign

Forum - 500 postsDevShare - 50 postsBlog - 25 postsPoll Voter

averma

Posted: 02 May 2012 - 01:40 PM

Yaytay, thanks for providing the sample but I still have no luck. I am not seeing any chart...(I dont see any error either) I tried the url for posting my sample on bitbucket but seems like I dont have access to issues.

Forum - 100 postsDevShare - 5 postsLeaderboard - 10 timesPoll Voter

Yaytay

Posted: 02 May 2012 - 01:56 PM

Averma, Just mailed you.Jim

Forum - 100 postsDevShare - 5 postsLeaderboard - 10 timesPoll Voter

Yaytay

Posted: 02 May 2012 - 10:36 PM

Oh stupid, stupid, me.I'd left in some debug code that was trying to write a copy of the chart to my desktop!!!I've uploaded a fixed version.Thanks averma, and apologies to anyone else who tried it.
 
Filter More