Skip to main content



      Home
Home » Archived » BIRT » Is it possible to change the dimension of chart dynamically?
Is it possible to change the dimension of chart dynamically? [message #169141] Mon, 12 June 2006 10:22 Go to next message
Eclipse UserFriend
Hello All,

In my report the data varies from time to time. I have a pie-chart whose
size needs to be changed depending on the number of legends. Is there any
way to do it?

Please reply.

Thanks
--Gayatri
Re: Is it possible to change the dimension of chart dynamically? [message #169678 is a reply to message #169141] Tue, 13 June 2006 09:21 Go to previous messageGo to next message
Eclipse UserFriend
Can you be more precise, what do oyu mean by change the size? How does it
change?

Thanks,

David

"Gayatri" <gayatrib@cybage.com> wrote in message
news:b88653cae8a4ae8a61e2cf246a629e43$1@www.eclipse.org...
> Hello All,
>
> In my report the data varies from time to time. I have a pie-chart whose
> size needs to be changed depending on the number of legends. Is there any
> way to do it?
>
> Please reply.
>
> Thanks
> --Gayatri
>
Re: Is it possible to change the dimension of chart dynamically? [message #170012 is a reply to message #169678] Wed, 14 June 2006 01:02 Go to previous messageGo to next message
Eclipse UserFriend
Hello David,

Change the size means changing the dimension (width, height) of the chart.
The data varies from time to time and so legends also increase or decrease
with time. But the chart dimension remains the same. Due to this, the
pie's become small or large. I would like to know if there's any way to
include some function that would check for the legends and increase or
decrease the size of the chart at runtime.

Please reply.

Thanks.
-- Gayatri
Re: Is it possible to change the dimension of chart dynamically? [message #170356 is a reply to message #170012] Wed, 14 June 2006 14:29 Go to previous messageGo to next message
Eclipse UserFriend
Yes, it's possible to set a width and height hint on the plot.

Thanks,

David

"Gayatri" <gayatrib@cybage.com> wrote in message
news:a0a6a66fc8ae92aeab6413c84d3009dd$1@www.eclipse.org...
> Hello David,
>
> Change the size means changing the dimension (width, height) of the chart.
> The data varies from time to time and so legends also increase or decrease
> with time. But the chart dimension remains the same. Due to this, the
> pie's become small or large. I would like to know if there's any way to
> include some function that would check for the legends and increase or
> decrease the size of the chart at runtime.
>
> Please reply.
>
> Thanks.
> -- Gayatri
Re: Is it possible to change the dimension of chart dynamically? [message #170532 is a reply to message #170356] Thu, 15 June 2006 05:25 Go to previous messageGo to next message
Eclipse UserFriend
Hello David,

Thanks for the reply. But I really could not follow it. Could you please
explain how exactly can I set hint.

Please reply.

Thanks,
--Gayatri
Re: Is it possible to change the dimension of chart dynamically? [message #172291 is a reply to message #170532] Wed, 21 June 2006 12:39 Go to previous messageGo to next message
Eclipse UserFriend
use Plot.setWidthHint(), and Plot.setHeightHint() with some points values.
The chart will try to use those as minimum values to render the plot.

Thanks,

David

"Gayatri" <gayatrib@cybage.com> wrote in message
news:2580aa61c4b92e25383a80cdd477a1d5$1@www.eclipse.org...
> Hello David,
>
> Thanks for the reply. But I really could not follow it. Could you please
> explain how exactly can I set hint.
> Please reply.
>
> Thanks,
> --Gayatri
>
>
Re: Is it possible to change the dimension of chart dynamically? [message #172891 is a reply to message #172291] Fri, 23 June 2006 01:41 Go to previous messageGo to next message
Eclipse UserFriend
Hello David,

Thanks for the reply. I am using BIRT 2.0.1. I think Plot.setWidthHint(),
and Plot.setHeightHint() was not implemented there. Is it possible to do
that in 2.0.1 ?

Thanks,
Gayatri



"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:e7bsop$tj$1@utils.eclipse.org...
> use Plot.setWidthHint(), and Plot.setHeightHint() with some points values.
> The chart will try to use those as minimum values to render the plot.
>
> Thanks,
>
> David
>
Re: Is it possible to change the dimension of chart dynamically? [message #172906 is a reply to message #172891] Fri, 23 June 2006 02:48 Go to previous messageGo to next message
Eclipse UserFriend
Unfortunately not, the only thing you can do is make the legend not visible
and provides tooltips on the chart instead.

Thanks,

David

"Gayatri" <gayatrib@cybage.com> wrote in message
news:e7fv0o$b3i$1@utils.eclipse.org...
> Hello David,
>
> Thanks for the reply. I am using BIRT 2.0.1. I think Plot.setWidthHint(),
> and Plot.setHeightHint() was not implemented there. Is it possible to do
> that in 2.0.1 ?
>
> Thanks,
> Gayatri
>
>
>
> "David Michonneau" <dmichonneau@actuate.com> wrote in message
> news:e7bsop$tj$1@utils.eclipse.org...
>> use Plot.setWidthHint(), and Plot.setHeightHint() with some points
>> values. The chart will try to use those as minimum values to render the
>> plot.
>>
>> Thanks,
>>
>> David
>>
>
>
Re: Is it possible to change the dimension of chart dynamically? [message #174004 is a reply to message #172906] Thu, 29 June 2006 00:35 Go to previous message
Eclipse UserFriend
Hello David,

I have installed BIRT 2.1 RC4. Could you please tell me how this column
hint and chart hint works. I would like to know what values should be
given. Can you please explain it a bit.

Thanks,
Gayatri
Previous Topic:how to pass a parameter to "order by ?"
Next Topic:How to expand table of contents in default in birt-viewer frameset
Goto Forum:
  


Current Time: Tue Jul 22 09:12:46 EDT 2025

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

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

Back to the top