Line Graph is not getting displayed fully.....

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
seenut
Posts: 10
Joined: Wed Jul 05, 2006 7:39 am
Contact:

Line Graph is not getting displayed fully.....

Post by seenut » Wed Jul 19, 2006 11:58 am

I have developed a line chart. this chart contains a value like this

x-axis y-axis
------ --------

0 0.06
15 0.2
30 0.37
45 0.52
60 0.66
75 0.777
90 0.83
105 0.82
120 0.75
135 0.63
150 0.5
165 0.42
180 0.4
195 0.43
210 0.48
225 0.52
240 0.54
255 0.55
270 0.53
285 0.46
300 0.34
315 0.18
330 0.06
345 0.01

the graph is not getting displayed fully. the graph is dispalying upto 150,05 only......

I am using XYSeriesCollection dataset

plz help me..........

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 » Fri Jul 21, 2006 3:42 pm

Sounds like you've set the axis range manually somewhere, but I can't tell unless you post your code (preferably a working demo).
David Gilbert
JFreeChart Project Leader

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

seimen
Posts: 3
Joined: Mon Jul 24, 2006 12:29 pm

Post by seimen » Mon Jul 24, 2006 12:36 pm

maybe you could try to put the whole thing in a scroll pane. i had a similar problem and for the first i solved it like this.

Locked