Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 Kloppenborg
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 Kloppenborg
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: Mon Sep 22 10:27:17 GMT 2014

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

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