Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Chart ReportItems in a library(Chart ReportItems in a library)
Chart ReportItems in a library [message #757072] Wed, 16 November 2011 06:18 Go to next message
Anthony Farrell is currently offline Anthony Farrell
Messages: 25
Registered: April 2011
Location: Ireland
Junior Member
I have placed chart(s) in a library (the chart has a data set and data source that are also inthe library). The chart would have some common formatting options etc.


When I add the Chart report item to the .rpdesign it works well at this level, the report developer will always want to plug in a different data set. I notice that when this happens the .rptdesign file explodes in size, essentially copying the xml description of the chart from the .library file into the .rptdesign file.

My question is, does this mean that changes to the chart in the library will not take affect with the .rptdesign file ?

Or

is BIRT clever enough to only use the local overridden properties/changes for the chart in the .rptdesign file taking all other chart settings from the library ?


I am trying to assess the value in putting chart into libraries, considering the following:

1. developers will always plug in a new data set.
2. the new data set may have differenct column names, we then bind the column names to the various chart elements (depending on the chart type, pie, bar, line, combination etc)

I will start testing the various secnarios soon, but any feed back indvance would be very helpful.
Re: Chart ReportItems in a library [message #757824 is a reply to message #757072] Wed, 16 November 2011 12:08 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

You should be able to change the chart dataset without losing the
reference to the chart model properties, but if you change local chart
properties such as type, palettes, etc this will lose the reference to
the chart in the library.

Jason

On 11/16/2011 6:18 AM, Anthony Farrell wrote:
> I have placed chart(s) in a library (the chart has a data set and data
> source that are also inthe library). The chart would have some common
> formatting options etc.
>
>
> When I add the Chart report item to the .rpdesign it works well at this
> level, the report developer will always want to plug in a different data
> set. I notice that when this happens the .rptdesign file explodes in
> size, essentially copying the xml description of the chart from the
> .library file into the .rptdesign file.
>
> My question is, does this mean that changes to the chart in the library
> will not take affect with the .rptdesign file ?
> Or
> is BIRT clever enough to only use the local overridden
> properties/changes for the chart in the .rptdesign file taking all other
> chart settings from the library ?
>
>
> I am trying to assess the value in putting chart into libraries,
> considering the following:
>
> 1. developers will always plug in a new data set.
> 2. the new data set may have differenct column names, we then bind the
> column names to the various chart elements (depending on the chart type,
> pie, bar, line, combination etc)
>
> I will start testing the various secnarios soon, but any feed back
> indvance would be very helpful.
Previous Topic:Multiple parameters with For loop
Next Topic:Generating a chart image from an rptdesign file
Goto Forum:
  


Current Time: Wed Aug 20 01:07:28 EDT 2014

Powered by FUDForum. Page generated in 0.45565 seconds