Search found 4 matches

by gummibear
Thu Jun 26, 2008 12:07 pm
Forum: JFreeChart
Topic: Show/Hide Tick Marks
Replies: 6
Views: 11767

Hallo hsp,
have you tried

Code: Select all

axis.setTickUnit(new NumberTickUnit(100));
Bye
by gummibear
Mon Feb 04, 2008 7:04 pm
Forum: JFreeChart
Topic: How can I set the first shown value of the Axis (TickMark)
Replies: 2
Views: 3934

Hello nimowy, thanks for your fast reply. I think, I have articulate wrong. The setRange worked perfectly for me, too. ( I tried setRange(19, 301), but the values are displayed wrong.) I mean the NumberTickLabels, which shows the wrong values. Here is a picture: http://www11.file-upload.net/04.02.08...
by gummibear
Mon Feb 04, 2008 11:08 am
Forum: JFreeChart
Topic: How can I set the first shown value of the Axis (TickMark)
Replies: 2
Views: 3934

How can I set the first shown value of the Axis (TickMark)

Hello, I have create a axis with range 20 to 300 and TickUnit 40. NumberAxis xaxis = (NumberAxis)plot.getDomainAxis(); xaxis.setTickUnit(40); xaxis.setRange(20,300); xaxis.setAutoRangeIncludesZero(false); Now, the axis shows the values 40, 80, 120, .. , 240, 280, but the axis shall show the values 2...
by gummibear
Mon Feb 04, 2008 9:18 am
Forum: JFreeChart
Topic: Problem with tickUnits, Percentage and bar graph
Replies: 2
Views: 3379

Problem with tickUnits, Percentage and bar graph

Hello zaballa,

try this:

Code: Select all

rangeAxis.setTickUnit(new NumberTickUnit(0.1));
bye, bye