Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Scatter Charts facilities - full freedom?
Scatter Charts facilities - full freedom? [message #773799] Mon, 02 January 2012 15:14 Go to next message
Stein Erik is currently offline Stein Erik
Messages: 9
Registered: September 2011
Junior Member
Hi,
I am looking at producing scatter charts where all the different x-y datasets have full freedom from each other. But I cannot figure it out for BIRT.

I would for example like to display 5 datasets in the same scatter chart (sharing the same axes and units though). These 5 sets of many x-y pairs all have these characteristics: (i) different number of x values, (ii) the x-values are not identical/shared between the datasets, and (iii) the y-values are of course not shared between the different 5 datasets.

This situation is common for scientific/engineering purposes. Just as examples; spreadsheets like Excel and OpenOffice provide such facilities with ease, and I have produced similar charts with some other graphical packages on other platforms.

Hopefully there is a easy way to guide me through. And if such functionalities do not exist at the moment, please let me know that too!

Thanks in advance!

Best,
Stein Erik
Re: Scatter Charts facilities - full freedom? [message #774356 is a reply to message #773799] Tue, 03 January 2012 19:01 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Stein,

Currently BIRT charts can only be bound to one dataset. Although you
can combine many datasets into one using the joint dataset feature, I am
not sure that will help in this case. You can also use scripting to
setup a javascript array of x and y values that can be retrieved from
many datasets. This approach is a bit more complicated but can be done.
The only caveat is that you have to have the same number of x and y
values. If this is something you are interested in I can help with an
example.

Jason

On 1/2/2012 10:14 AM, Stein Erik wrote:
> Hi,
> I am looking at producing scatter charts where all the different x-y
> datasets have full freedom from each other. But I cannot figure it out
> for BIRT.
> I would for example like to display 5 datasets in the same scatter chart
> (sharing the same axes and units though). These 5 sets of many x-y pairs
> all have these characteristics: (i) different number of x values, (ii)
> the x-values are not identical/shared between the datasets, and (iii)
> the y-values are of course not shared between the different 5 datasets.
>
> This situation is common for scientific/engineering purposes. Just as
> examples; spreadsheets like Excel and OpenOffice provide such facilities
> with ease, and I have produced similar charts with some other graphical
> packages on other platforms.
>
> Hopefully there is a easy way to guide me through. And if such
> functionalities do not exist at the moment, please let me know that too!
>
> Thanks in advance!
>
> Best,
> Stein Erik
Re: Scatter Charts facilities - full freedom? [message #774365 is a reply to message #774356] Tue, 03 January 2012 19:24 Go to previous messageGo to next message
Stein Erik is currently offline Stein Erik
Messages: 9
Registered: September 2011
Junior Member
Thx so much for the clear and elaborate answer Jason.

The capability I was looking for is essential for the charting part of my application, so I will for now try another charting package which meets that requirement. Unfortunately, that will "hurt" the integration to my data in the EMF datastore and other nice report & charting capabilities BIRT offer. Can´t win them all...

[Updated on: Tue, 03 January 2012 19:25]

Report message to a moderator

Re: Scatter Charts facilities - full freedom? [message #774823 is a reply to message #774365] Wed, 04 January 2012 17:53 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

If you want an example of building a chart dataset from multiple report
datasets using script let me know.

Jason

On 1/3/2012 2:24 PM, Stein Erik wrote:
> Thx so much for the clear and elaborate answer Jason.
>
> The scatter chart capability I was looking for is essential for the
> charting part of my application, so I will for now try another charting
> package which meets that requirement. Unfortunately, that will "hurt"
> the integration to my data in the EMF datastore and other nice report &
> charting capabilities BIRT offer. Can´t win them all...
Re: Scatter Charts facilities - full freedom? [message #829662 is a reply to message #774823] Mon, 26 March 2012 15:56 Go to previous message
Nigel Daniels is currently offline Nigel Daniels
Messages: 66
Registered: July 2009
Member
Hi Jason,

I'd be interested in an example of this, I just took the long shot of
asking if Eric Jain has an example of this from his 2009 posting . From
that it sounds like it is possible to use Birt to have multiple
different data sets in one chart. It sounds like he initially padded
data sets with NAN to get them to the same size.

However a later post suggests a more elegant solution exists, as this is
something I need to do myself I'd be curious to see some code examples.

Best regards,

Nigel

On 04/01/2012 17:53, Jason Weathersby wrote:
> If you want an example of building a chart dataset from multiple report
> datasets using script let me know.
>
> Jason
>
> On 1/3/2012 2:24 PM, Stein Erik wrote:
>> Thx so much for the clear and elaborate answer Jason.
>>
>> The scatter chart capability I was looking for is essential for the
>> charting part of my application, so I will for now try another charting
>> package which meets that requirement. Unfortunately, that will "hurt"
>> the integration to my data in the EMF datastore and other nice report &
>> charting capabilities BIRT offer. Can´t win them all...
>
Previous Topic:Integrate birt into rap,throw OutOfMemoryError
Next Topic:Aggregation problem
Goto Forum:
  


Current Time: Wed Sep 24 04:41:42 GMT 2014

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

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