it`s possible with JFreeChart?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
kibab
Posts: 6
Joined: Thu Sep 29, 2005 1:56 pm

it`s possible with JFreeChart?

Post by kibab » Tue Oct 04, 2005 10:43 am

Hi, I want to say if is possible set the space between the colums of the x-axis.
for example:

|
|
|
|
|
|
|_____|_____|_____|_____|____|___
1 <unit> 25

for example the value`s unit is 5 but it could be set to 10?

I Know that it`s possible set the lower and upper Bound (1, 25) but i don`t know if is possible this operation.
Please help me with explain the solution.
Thanks Kibab

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Oct 04, 2005 5:31 pm

You can use the setTickUnit() method:

http://www.jfree.org/jfreechart/javadoc ... rTickUnit)
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked