Wednesday 15 February 2012

How to define co-ordinates for X-Y axis in JFreeChart -



How to define co-ordinates for X-Y axis in JFreeChart -

i m newbie jfreechart, want create straight line on xy axis co-ordinates (x,y) = (0,0) , (6,0) default co-ordinate values x , y axis starts -0.75 , 0.00 respectively. want create sure starts (0,0) every time. know doable cant figure out how. help appreciated. in advance

without code it's hard tell how need this, need set bounds of range (x) , domain (y) axis. should do:

plot.getrangeaxis().setlowerbound(0); plot.getdomainaxis().setlowerbound(0);

where plot subclass of plot has range , domain axis (that is, plot not, xyplot or categoryplot illustration does, may need cast).

jfreechart

No comments:

Post a Comment