X-Axis with decimal values, why??? [message #241307] |
Wed, 06 June 2007 09:28 |
Eclipse User |
|
|
|
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????
|
|
|
Powered by
FUDForum. Page generated in 0.06360 seconds