Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Multible charts in one report using the same data set from scripted data source
Multible charts in one report using the same data set from scripted data source [message #726794] Mon, 19 September 2011 11:14 Go to next message
Teo  is currently offline Teo
Messages: 14
Registered: May 2011
Junior Member
Hi all,

I am designing a report in BIRT which uses several charts in the same report. All charts are refering to the same data set which is dynamicaly produced through java POJOs. I noticed that although the same data set is used for all the charts, the java routine for producing the data set is run for every chart of the report, thus experiencing serious time delay in the rendering of the report. Does anyone know what is causing this behavior and if there is a way to avoid the multiple call of the java routines that construct the data set that is being used for the charts?

Thank you for your help!

-Teo
Re: Multible charts in one report using the same data set from scripted data source [message #726832 is a reply to message #726794] Mon, 19 September 2011 12:06 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Teo,

Can you bind the second, third, etc charts to the first chart instead of
the scripted dataset? Or drag the scripted dataset to the canvas which
will create a table. Hide the table using visibility expression and
then bind the charts to the table. Make sure to name the table and
charts in the general properties which will allow the binding from one
report item to the next. I do not believe scripted datasets are cached,
but if you bind from one report item to the next it should only execute
once.

Jason

On 9/19/2011 11:14 AM, Teo wrote:
> Hi all,
>
> I am designing a report in BIRT which uses several charts in the same
> report. All charts are refering to the same data set which is dynamicaly
> produced through java POJOs. I noticed that although the same data set
> is used for all the charts, the java routine for producing the data set
> is run for every chart of the report, thus experiencing serious time
> delay in the rendering of the report. Does anyone know what is causing
> this behavior and if there is a way to avoid the multiple call of the
> java routines that construct the data set that is being used for the
> charts?
>
> Thank you for your help!
>
> -Teo
Previous Topic:Date Picker
Next Topic:BIRT - ODA - EMF instance
Goto Forum:
  


Current Time: Sat Aug 30 10:42:34 EDT 2014

Powered by FUDForum. Page generated in 0.02557 seconds