Plot at range border of a range restricted XYLinePlot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
r3make
Posts: 1
Joined: Thu May 20, 2010 11:14 am
antibot: No, of course not.

Plot at range border of a range restricted XYLinePlot

Post by r3make » Thu May 20, 2010 11:26 am

Hi,

i need a XYLinePlot with fixed ranges for both axis. I tried with NumberAxis.setRange(0, 1) and it works with the restriction, that values directly on the range-borders are cutted off (See the image as example).
Image

How can i change this to not cut off the plot and also keeping the fixed range? It is okay for me to show more than 100% in the plot, as long as there will be no axis-labels out of the range 0%-100%. I tried increasing the range a little, but that works not all the time due to scaling.

Locked