How to specify starting,ending point on x-axis,y-axis

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:

How to specify starting,ending point on x-axis,y-axis

Post by seenut » Wed Jul 19, 2006 5:43 am

I have devloped line chart using XYSeriesCollection datasec. How to specify the starting point and ending poing on x-axis and y-axis in a line chart.

forsey85
Posts: 17
Joined: Mon Jul 03, 2006 2:55 pm

Post by forsey85 » Wed Jul 19, 2006 9:17 am

chart.getXYPlot().getDomainAxis().setLowerBound(double)

and

chart.getXYPlot().getDomainAxis().setUpperBound(double)

call getRangeAxis() for the Y axis :shock:

Locked