Hi!
I´m new on JFreeChart. I´ve try to find out how to make that the value on the axis not will change as a result of the value of the plot. If you do not understand my problem, please tell me.
For example: I like to draw x-axis 0 to 100 and y-axis 0 to 100, but have just one point at value (5,5) At he moment the chart will show x-axis 5 and y-axis 5. It changes automatic. How can I avoid this automatic “zoom”?
/Mike
Not dynamic X- and Y axis
Code: Select all
plot.getDomainAxis().setRange(0, 100);
plot.getRangeAxis().setRange(0, 100);