Skip to main content



      Home
Home » Archived » BIRT » X-Axis with decimal values, why???
X-Axis with decimal values, why??? [message #241307] Wed, 06 June 2007 09:28
Eclipse UserFriend
Originally posted by: elsa_gs.hotmail.com

Hi,
I'm trying to set the format to the Axis.
My X-Axis has numbers of departaments and when I preview the chart I see
that all the X-Axis values has decimals (for example the department 6 is
writen as 6.0).

I've tried with:
NumberFormatSpecifier nfs = NumberFormatSpecifierImpl.create( );
nfs.setFractionDigits( 0 );
...
xAxisPrimary.setFormatSpecifier( nfs );

and the result hasn't changed. Then, I've tried with
"xAxisPrimary.setType( AxisType.LINEAR_LITERAL); " and others Axis Types,
but I have the error bellow:
The following items have errors:

Chart (id = 25):
+ Bars may not be rendered on a value scale

How can I do this????
Previous Topic:BIRT 2.2.RC0 WebViewerExample layout problem in IE 7?
Next Topic:Is there any PDF issue in BIRT2.2M series?
Goto Forum:
  


Current Time: Thu Jul 17 22:16:37 EDT 2025

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

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

Back to the top