Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Change Chart Grouping unit and interval
Change Chart Grouping unit and interval [message #797536] Mon, 13 February 2012 15:58 Go to next message
fru Missing name is currently offline fru Missing nameFriend
Messages: 6
Registered: December 2011
Junior Member
Hi there,

I have a line chart which counts dates for certain time units (months, weeks) and intervals of them. I want the user to be able to choose the unit and the interval, so the charts engine sums it up according to the parameter.
I looked through the chart events but could not figure out how to get the SeriesDefinition, which I suppose are needed to set the grouping programmatically.

Could someone please give me an example how to access the SeriesDefinition object ? Would be much appreciated Smile

[Updated on: Mon, 13 February 2012 16:28]

Report message to a moderator

Re: Change Chart Grouping unit and interval [message #797629 is a reply to message #797536] Mon, 13 February 2012 18:17 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Look at the beforeFactory event script on the attached example.

Jason

On 2/13/2012 10:58 AM, fru Mising name wrote:
> Hi there,
>
> I have a line chart diagramm which sums up dates for certain time units
> (months, weeks) and intervals of them. I want the user to be able to
> choose the unit and the interval, so the charts engine sums it up
> according to the parameter. I looked through the chart events but could
> not figure out how to get the SeriesDefinition, which I suppose are
> needed to set the grouping programmatically.
> Could someone please give me an example how to access the
> SeriesDefinition object ? Would be much appreciated :)
>
Re: Change Chart Grouping unit and interval [message #798168 is a reply to message #797629] Tue, 14 February 2012 10:36 Go to previous message
fru Missing name is currently offline fru Missing nameFriend
Messages: 6
Registered: December 2011
Junior Member
Thank you very much Jason !
Previous Topic:Legend label for series when grouped by key
Next Topic:Image(chart) not display in HTML report
Goto Forum:
  


Current Time: Thu Apr 25 12:44:51 GMT 2024

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

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

Back to the top