View Single Post
  #11 (permalink)  
Old 11-02-2007, 01:18 PM
ravindarjobs ravindarjobs is offline
Member
 
Join Date: Oct 2007
Posts: 7
ravindarjobs is on a distinguished road
yes you are correct. It is a full free version .
now i down loaded and tried to use it, but when i unzip it i fine many folders and i panic.



@ Hard Wired :


hey Hard Wired, i changed for loop of y-axis and got the output as per my requirement.
i chaged the y-axis lable for loop like this

Code:
for(int j = 0; j <= max; j=j+max/data.length) { String s = String.valueOf(max-j); float y = (float)(PAD + j*yInc + lm.getDescent()); float width = (float)font.getStringBounds(s, frc).getWidth(); float x = (float)(PAD - TICK - STICK - width); g2.drawString(s, x, y); }
now it is working very fine.

my next step is to draw
x-axis title,
y-axis title,
and a legend.

if you have any information regarding this, please give me the link.
i will read them.

ohh i have forgotten one thing to ask,

suppose if y-axis contains values like 4000,3456,....(i.e in thousands),
i am unable to see them completely. only some letters are appearing. like for 4000, i am able to view only 000. 4 appears lightly(only half).
that is the frame or some thing covers it.
can we move the graph to right to a distance from current location?


Thank you?

Last edited by ravindarjobs : 11-02-2007 at 01:32 PM.
Reply With Quote