Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Histogram: Bar chart --- setUnitSpacing(0.0)
Histogram: Bar chart --- setUnitSpacing(0.0) [message #673931] Wed, 25 May 2011 08:23 Go to next message
Matthias Kloppenborg is currently offline Matthias KloppenborgFriend
Messages: 17
Registered: April 2010
Junior Member
Hello everyone,

i am new to BIRT and need some advice.
I want to do a histogram, but i don't get this working. (see attachment)

I grouped the values for the chart manually into classes
(0-1100)(1100-2200).

chart is ChartWithAxes.
xAxisType is TEXT_LITERAL.
yAxisType is LINEAR_LITERAL.

The functions
chart.setUnitSpacing(0.0)
and
chart.setSeriesThickness(1100)
get called.

The last call seems to get ignored, cause there is a gap between the two
bars(see attachment).

I hope there is someone who can give me a hint how to fix this.

Kind regards

Matthias
Re: Histogram: Bar chart --- setUnitSpacing(0.0) [message #674010 is a reply to message #673931] Wed, 25 May 2011 13:56 Go to previous message
Matthias Kloppenborg is currently offline Matthias KloppenborgFriend
Messages: 17
Registered: April 2010
Junior Member
Hello again,

my fault was, that i added two BarSeries to the ySeries.
The values here where 0, so the bars where there, but not visible. ;)

Nevertheless, thanks a lot for reading my message.




Am 25.05.2011 10:23, schrieb Matthias Kloppenborg:
> Hello everyone,
>
> i am new to BIRT and need some advice.
> I want to do a histogram, but i don't get this working. (see attachment)
>
> I grouped the values for the chart manually into classes
> (0-1100)(1100-2200).
>
> chart is ChartWithAxes.
> xAxisType is TEXT_LITERAL.
> yAxisType is LINEAR_LITERAL.
>
> The functions
> chart.setUnitSpacing(0.0)
> and
> chart.setSeriesThickness(1100)
> get called.
>
> The last call seems to get ignored, cause there is a gap between the two
> bars(see attachment).
>
> I hope there is someone who can give me a hint how to fix this.
>
> Kind regards
>
> Matthias
>
>
>
Previous Topic:Scripted data set
Next Topic:Repeat table header in group
Goto Forum:
  


Current Time: Fri Apr 26 16:35:20 GMT 2024

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

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

Back to the top