Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Deciding runtime which data set to call?
Deciding runtime which data set to call? [message #728190] Thu, 22 September 2011 13:40 Go to next message
Anurag  is currently offline Anurag
Messages: 47
Registered: September 2011
Member
In my report user will decide which data set to call. How to do that? I have two data sets based on the input from the user I have to display charts. How to go about that? That is:

1. How to get input from user
2. How to call the correct data set.

Thank you,

Anurag
Re: Deciding runtime which data set to call? [message #728218 is a reply to message #728190] Thu, 22 September 2011 14:15 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you give some more detail. What are the two datasets bound to, charts?

Jason

On 9/22/2011 1:40 PM, Anurag wrote:
> In my report user will decide which data set to call. How to do that? I
> have two data sets based on the input from the user I have to display
> charts. How to go about that? That is:
>
> 1. How to get input from user
> 2. How to call the correct data set.
>
> Thank you,
>
> Anurag


Jason Weathersby

BIRT Exchange
Re: Deciding runtime which data set to call? [message #729488 is a reply to message #728218] Mon, 26 September 2011 06:04 Go to previous messageGo to next message
Anurag  is currently offline Anurag
Messages: 47
Registered: September 2011
Member
Hello Jason,

Thank you for reply.

Yes, the data sets are bound to chart. I want to do this:

Once the report is fired it should display a form which contains two radio buttons for two charts. On the basis of selection of a radio button one chart will be a displayed.

Thanks,

Anurag
Re: Deciding runtime which data set to call? [message #729619 is a reply to message #729488] Mon, 26 September 2011 11:58 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Take a look at the attached example. Remember to name each chart in the
general properties. Look at the beforeFactory script of the example to
see how one chart is dropped.

Jason


On 9/26/2011 6:04 AM, Anurag wrote:
> Hello Jason,
>
> Thank you for reply.
>
> Yes, the data sets are bound to chart. I want to do this:
>
> Once the report is fired it should display a form which contains two
> radio buttons for two charts. On the basis of selection of a radio
> button one chart will be a displayed.
>
> Thanks,
>
> Anurag


Jason Weathersby

BIRT Exchange
Re: Deciding runtime which data set to call? [message #729924 is a reply to message #729619] Tue, 27 September 2011 05:54 Go to previous message
Anurag  is currently offline Anurag
Messages: 47
Registered: September 2011
Member
Thank you for reply, Jason. I am going through it.

Anurag
Previous Topic:Excel report in multiple sheets
Next Topic:How to Place Controls on pixel position
Goto Forum:
  


Current Time: Sat Apr 19 03:09:33 EDT 2014

Powered by FUDForum. Page generated in 0.03008 seconds