Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Mismatch dataset count
Mismatch dataset count [message #527013] Tue, 13 April 2010 17:06 Go to next message
Elizabeth  is currently offline Elizabeth Friend
Messages: 13
Registered: December 2009
Junior Member
I'm using BIRT 2.5.2 and Eclipse 3.5. I'm trying to put multiple series on a line chart. The series I'm trying to put on this line chart aren't necessarily the same size. I got the following error, where 59 and 5 are the lengths of my two series.

org.eclipse.birt.chart.exception.ChartException: Mismatch (59!=5) in dataset count found in stacked runtime series

I found this link: http://dev.eclipse.org/newslists/news.eclipse.birt/msg03544.html, which seems to say the error's been fixed for a previous version of BIRT, though I still get the same error.

I've been told that "All series in the same chart have to have the same number of points".

To get my series to show up in the same chart, I inserted Double.NaN for the missing points so that both datasets are the same length.

Is there a better solution for this problem?
Re: Mismatch dataset count [message #527240 is a reply to message #527013] Wed, 14 April 2010 14:38 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Elizabeth,

Currently this is a requirement for charts that all the series have the
same number of points. They can be null like you set. You can set
these in the afterDataSetFilled script if you would like, instead of
modifying the source data.

Jason


Elizabeth wrote:
> I'm using BIRT 2.5.2 and Eclipse 3.5. I'm trying to put multiple series
> on a line chart. The series I'm trying to put on this line chart aren't
> necessarily the same size. I got the following error, where 59 and 5
> are the lengths of my two series.
>
> org.eclipse.birt.chart.exception.ChartException: Mismatch (59!=5) in
> dataset count found in stacked runtime series
>
> I found this link:
> http://dev.eclipse.org/newslists/news.eclipse.birt/msg03544. html, which
> seems to say the error's been fixed for a previous version of BIRT,
> though I still get the same error.
>
> I've been told that "All series in the same chart have to have the same
> number of points".
>
> To get my series to show up in the same chart, I inserted Double.NaN for
> the missing points so that both datasets are the same length.
> Is there a better solution for this problem?
Re: Mismatch dataset count [message #657630 is a reply to message #527013] Thu, 03 March 2011 14:13 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: March 2011
Junior Member
How did you insert Double.NaN for missing points?
Re: Mismatch dataset count [message #657664 is a reply to message #657630] Thu, 03 March 2011 15:29 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Take a look at this thread:
http://www.eclipse.org/forums/index.php?t=msg&S=e0ceaad0 f34f10d934c490ac1efe5d97&th=152456&goto=480046#msg_4 80046

Jason

On 3/3/2011 9:13 AM, vadik56@gmail.com wrote:
> How did you insert Double.NaN for missing points?
Re: Mismatch dataset count [message #759678 is a reply to message #527013] Tue, 29 November 2011 15:18 Go to previous messageGo to next message
ken is currently offline kenFriend
Messages: 1
Registered: November 2011
Junior Member
Jason

When I looked at the thread you referenced to fix the problem with mismatched datasets I didn't understand where I can find the relevant class to modify.

I'm no expert on Java so go easy on me for any java terms.

Thanks
Ken
Re: Mismatch dataset count [message #759698 is a reply to message #759678] Tue, 29 November 2011 16:40 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

That was code that was used to create the chart. Where and how are you
running the chart engine? What version?

Jason

On 11/29/2011 10:18 AM, ken wrote:
> Jason
>
> When I looked at the thread you referenced to fix the problem with
> mismatched datasets I didn't understand where I can find the relevant
> class to modify.
>
> I'm no expert on Java so go easy on me for any java terms.
>
> Thanks
> Ken
Previous Topic:possible ways in order BIRT should see Java event handlers
Next Topic:Localization issue with parameters group prompts
Goto Forum:
  


Current Time: Fri Dec 19 02:26:44 GMT 2014

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

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