Skip to main content



      Home
Home » Archived » BIRT » Scrollbars in programatically engineered bar charts
Scrollbars in programatically engineered bar charts [message #122690] Wed, 01 February 2006 09:38 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Designer runtime exception
Next Topic:Reports conver to v2.0
Goto Forum:
  


Current Time: Sat Jul 19 14:23:52 EDT 2025

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

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

Back to the top