Scrollbars in programatically engineered bar charts [message #122690] |
Wed, 01 February 2006 09:38  |
Eclipse User |
|
|
|
Hello,
I am trying to use BIRT chart engine to render a bar chart in an Eclipse
view, and want to be able to set a minimum width on the chart, or on the
bars, so that if the data set exceeds the with of the chart a scrollbar
should appear in order for the user to see the remaining number of bars.
I can not find anything that lets me control the width of the chart or the
bars, or anything that enables a scrollbar.
Is this possible, and if so what would be the best way to go about it?
- Elin Karasalo
|
|
|
Re: Scrollbars in programatically engineered bar charts [message #122865 is a reply to message #122690] |
Wed, 01 February 2006 15:10  |
Eclipse User |
|
|
|
Hi Elin,
The more bars you have, the smaller they will be, so the overall size of the
chart will remain unchanged. There is no way to set any scrollbar in the
current chart engine.
For the width of the chart, you can set the bounds using Generator.build()
that takes a Bounds instance as parameter.
There are some examples in org.eclipse.birt.chart.examples plugin, you can
take a look there for examples on how to use the Chart API.
Thanks,
David
"Elin Karasalo" <elka@enea.se> wrote in message
news:drqh4u$3lr$1@utils.eclipse.org...
> Hello,
>
> I am trying to use BIRT chart engine to render a bar chart in an Eclipse
> view, and want to be able to set a minimum width on the chart, or on the
> bars, so that if the data set exceeds the with of the chart a scrollbar
> should appear in order for the user to see the remaining number of bars.
>
> I can not find anything that lets me control the width of the chart or the
> bars, or anything that enables a scrollbar.
>
> Is this possible, and if so what would be the best way to go about it?
>
>
>
> - Elin Karasalo
>
|
|
|
Powered by
FUDForum. Page generated in 0.02701 seconds