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
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?
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.
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