|
Re: The 3D chart from our app is not same with birt designer's preview [message #554869 is a reply to message #554773] |
Tue, 24 August 2010 15:00 |
|
In the report engine download there is a ReportRunner class and a bat
file to run the report if you want. Also to build a simple Java app
take a look at this:
http://wiki.eclipse.org/Simple_Execute_%28BIRT%29_2.1 Make sure to
scroll down and use the BIRT 2.2 sample. Add the libs from the report
engine download and set the birt home to the reportengine directory and
the sample should work.
Jason
On 8/24/2010 7:52 AM, Ricky Ru wrote:
> Hi friends,
>
> I have a simple birt report which contains a jdbc data source and a data
> set. I created a 3D chart using some of the data set columns. I am able
> to preview the 3D chart in birt designer. We also have an application
> developed based on birt engine API. User also can use it to run the birt
> report instead of birt designer. But the result(3D chart) is not same as
> the one previewed in birt designer for some 3D chart reports. I mean the
> contents of the images are not same. Sometimes they have a big difference.
>
> Since our application is complexed and it's not developed by me. It's
> not easy to find where the issue is. So, my thought is that If I can
> write a java class which uses birt engine to run the report, it will be
> very helpful to find the reason because it gets rid of much unnecessary
> code in our app.
>
> But I am a beginner in birt, do you have some resource to demonstrate
> how the java class should be written? Any feedback is welcome!
>
> Thanks,
> -Ricky
>
|
|
|
|
|
Re: The 3D chart from our app is not same with birt designer's preview [message #555153 is a reply to message #555019] |
Wed, 25 August 2010 15:57 |
|
Ricky,
The designer only retrieves a limited amount of rows. It is
configurable in the preferences, but I believe it defaults to 400.
Jason
On 8/25/2010 4:22 AM, Ricky wrote:
> The problem occurs if there is much data in the table. At first, the
> table contained 1660 rows(3 columns with integer type) of data. I
> deleted 1200 rows and the problem disappeared. Maybe the data amount and
> the way the columns used to generate the chart caused birt engine could
> not properly render the complex image.
>
> -Ricky
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.06422 seconds