Skip to main content



      Home
Home » Archived » 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
Eclipse UserFriend
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
Eclipse UserFriend
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: Wed Jul 23 01:11:36 EDT 2025

Powered by FUDForum. Page generated in 0.26434 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top