Skip to main content



      Home
Home » Archived » BIRT » large datasets in birt
large datasets in birt [message #91980] Thu, 17 November 2005 09:21 Go to next message
Eclipse UserFriend
I have attempted to use a larger dataset and display a Stock chart. The
display/refresh time to draw this larger dataset(1500 data points) is
enormous. It takes about 3 seconds to draw the chart! Is this normal?
If not, are there any optimizations or anything I can do to get the
graphs to be more responsive?
Re: large datasets in birt [message #92044 is a reply to message #91980] Thu, 17 November 2005 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Can you provide details on your environment: is it a standalone chart, or a
chart inside a report? Which version of BIRT are you using? Are you sure the
time is not spent by the query, but indeed by the chart rendering? If
standalone, what device renderer are you using?

Thanks,

David

"Vangos" <evangelos.papacostantis@rmb.co.za> wrote in message
news:dli3m9$sg0$1@news.eclipse.org...
>I have attempted to use a larger dataset and display a Stock chart. The
>display/refresh time to draw this larger dataset(1500 data points) is
>enormous. It takes about 3 seconds to draw the chart! Is this normal?
> If not, are there any optimizations or anything I can do to get the graphs
> to be more responsive?
Re: large datasets in birt [message #92075 is a reply to message #92044] Thu, 17 November 2005 10:25 Go to previous messageGo to next message
Eclipse UserFriend
It is a standalone chart and the version of ECE im using is S20051110.
The time is not spent by the query but by the actual chart rendering. I
have confirmed this by using two timers to identify the time spent on
the data querying and the rendering time. It takes 350 milisecond for
the first and 4500 miliseconds for the second. Im using the SWT renderer.


here is my paintcontrol method I use:

public void paintControl(PaintEvent event) {
deviceRenderer.setProperty(IDeviceRenderer.GRAPHICS_CONTEXT, event.gc);

Composite co = (Composite) event.getSource();
Rectangle re = co.getClientArea();
Bounds bo = BoundsImpl.create(re.x, re.y, re.width, re.height);
bo.scale(72d / deviceRenderer.getDisplayServer().getDpiResolution());
Generator gr = Generator.instance();
try {
gr.render(deviceRenderer, gr.build(
deviceRenderer.getDisplayServer(), chart, null, bo, null));
} catch (ChartException gex) {
gex.printStackTrace();
}
}



David Michonneau wrote:
> Hi,
>
> Can you provide details on your environment: is it a standalone chart, or a
> chart inside a report? Which version of BIRT are you using? Are you sure the
> time is not spent by the query, but indeed by the chart rendering? If
> standalone, what device renderer are you using?
>
> Thanks,
>
> David
>
> "Vangos" <evangelos.papacostantis@rmb.co.za> wrote in message
> news:dli3m9$sg0$1@news.eclipse.org...
>
>>I have attempted to use a larger dataset and display a Stock chart. The
>>display/refresh time to draw this larger dataset(1500 data points) is
>>enormous. It takes about 3 seconds to draw the chart! Is this normal?
>>If not, are there any optimizations or anything I can do to get the graphs
>>to be more responsive?
>
>
>
Re: large datasets in birt [message #92309 is a reply to message #92075] Thu, 17 November 2005 13:49 Go to previous message
Eclipse UserFriend
Thank you, we will look into that issue, can you please file a bugzilla
entry for it?

Thanks,

David

"Vangos" <evangelos.papacostantis@rmb.co.za> wrote in message
news:dli7cp$2r6$1@news.eclipse.org...
> It is a standalone chart and the version of ECE im using is S20051110.
> The time is not spent by the query but by the actual chart rendering. I
> have confirmed this by using two timers to identify the time spent on the
> data querying and the rendering time. It takes 350 milisecond for the
> first and 4500 miliseconds for the second. Im using the SWT renderer.
>
>
> here is my paintcontrol method I use:
>
> public void paintControl(PaintEvent event) {
> deviceRenderer.setProperty(IDeviceRenderer.GRAPHICS_CONTEXT, event.gc);
>
> Composite co = (Composite) event.getSource();
> Rectangle re = co.getClientArea();
> Bounds bo = BoundsImpl.create(re.x, re.y, re.width, re.height);
> bo.scale(72d / deviceRenderer.getDisplayServer().getDpiResolution());
> Generator gr = Generator.instance();
> try {
> gr.render(deviceRenderer, gr.build(
> deviceRenderer.getDisplayServer(), chart, null, bo, null));
> } catch (ChartException gex) {
> gex.printStackTrace();
> }
> }
>
>
>
> David Michonneau wrote:
>> Hi,
>>
>> Can you provide details on your environment: is it a standalone chart, or
>> a chart inside a report? Which version of BIRT are you using? Are you
>> sure the time is not spent by the query, but indeed by the chart
>> rendering? If standalone, what device renderer are you using?
>>
>> Thanks,
>>
>> David
>>
>> "Vangos" <evangelos.papacostantis@rmb.co.za> wrote in message
>> news:dli3m9$sg0$1@news.eclipse.org...
>>
>>>I have attempted to use a larger dataset and display a Stock chart. The
>>>display/refresh time to draw this larger dataset(1500 data points) is
>>>enormous. It takes about 3 seconds to draw the chart! Is this normal?
>>>If not, are there any optimizations or anything I can do to get the
>>>graphs to be more responsive?
>>
>>
Previous Topic:pass a connection object to BIRT
Next Topic:Modify Header & Footer?
Goto Forum:
  


Current Time: Thu May 08 21:22:39 EDT 2025

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

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

Back to the top