wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes JFreeChart - How to define custom maximum value of axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JFreeChart - How to define custom maximum value of axis" Watch "JFreeChart - How to define custom maximum value of axis" New topic
Author

JFreeChart - How to define custom maximum value of axis

Nick Smit
Greenhorn

Joined: Feb 08, 2011
Posts: 19
I am using Jfree Chart
When I set datapoints, it defines, the x and y axis ranges based on datapoints, but I want to define max x-axis value myself.

eg
my data points

10,1
20, 3
70,2

Jfree chart will give
x -axis as 0-80
y-axis as 0-5

I want x-axis to be shown as 0-100.

Is there a way?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JFreeChart - How to define custom maximum value of axis