large datasets in birt [message #91980] |
Thu, 17 November 2005 09:21  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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?
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.07407 seconds