Search found 5 matches

by RémiONERA
Tue Oct 10, 2017 12:59 pm
Forum: JFreeChart
Topic: NumberFormatOverride does not work well
Replies: 6
Views: 8890

Re: NumberFormatOverride does not work well

In the LogarithmicAxis class I have found the setExpTickLabelsFlag(boolean flag) which solves my problem.
I have also tried setLog10TickLabelsFlag(boolean flag) doesn't work.
by RémiONERA
Thu Oct 05, 2017 8:37 am
Forum: JFreeChart
Topic: NumberFormatOverride does not work well
Replies: 6
Views: 8890

NumberFormatOverride does not work well

Your code is working but it does not respond to my problem. If I use my data instead of your formula I have label with decimal exponent (10 -20.5 ) witch is not acceptable. For exemple DecimalFormat df=new DecimalFormat("##0.##E0",new DecimalFormatSymbols(new Locale("us"))); LogFormat lf=new LogForm...
by RémiONERA
Wed Oct 04, 2017 7:14 am
Forum: JFreeChart
Topic: NumberFormatOverride does not work well
Replies: 6
Views: 8890

Re: NumberFormatOverride does not work well

My axis is already a LogAxis. I have replace

Code: Select all

NumberAxis Axis = (NumberAxis) l_Plot.getRangeAxis();
by

Code: Select all

LogarithmicAxis Axis = (LogarithmicAxis) l_Plot.getRangeAxis();
It still does not work
by RémiONERA
Tue Oct 03, 2017 2:09 pm
Forum: JFreeChart
Topic: NumberFormatOverride does not work well
Replies: 6
Views: 8890

NumberFormatOverride does not work well

Hello I have a XY plot chart with Y values between 1e-20 and 1e-12. I use a logarithmic scale and I want my ticks label to be shown in a scientific format (ie 1e-14) So I did this NumberAxis Axis = (NumberAxis) l_Plot.getRangeAxis(); DecimalFormat formatter=new DecimalFormat("##0.##E0",new DecimalFo...
by RémiONERA
Wed Jul 24, 2013 9:38 am
Forum: JFreeChart
Topic: Problem of viewing number ticks unit
Replies: 0
Views: 2525

Problem of viewing number ticks unit

Hi I am plotting a createXYLineChart and the X values are in a range of 8.8e-9 to 8.9e-9. When I plot the series there is no tick numbers on the domain axis and the curve is not showing. If I multiply the X values by 1e7 for exemple it works (but of course my X values are wrong). Is there a way to a...