Search found 3 matches

by cirilio
Sun May 02, 2010 8:05 pm
Forum: JFreeChart
Topic: How to put the Label of my TickLabels in exponential format
Replies: 3
Views: 4491

Re: How to put the Label of my TickLabels in exponential format

Thank you for answering!!!

That' s exactly what i needed!
by cirilio
Sun May 02, 2010 6:22 pm
Forum: JFreeChart
Topic: How to put the Label of my TickLabels in exponential format
Replies: 3
Views: 4491

Re: How to put the Label of my TickLabels in exponential format

Actually I've found a method to format a double in exponantial:

NumberFormat formatter = new DecimalFormat("0E0");
String s = formatter.format(-1234.567); // -1E3


However the method add(x,y) of XYSeries doesn't accept String as parameters!!!
by cirilio
Sun May 02, 2010 6:16 pm
Forum: JFreeChart
Topic: How to put the Label of my TickLabels in exponential format
Replies: 3
Views: 4491

How to put the Label of my TickLabels in exponential format

Hello everybody,

Is there anybody who know , how should I do to put my axis' TickLabels in Exponantial Format?

200000 =>2E5

100000 =>1E5

10000 =>1E4