How to get static range for X axis (Range axis) in JFreechart
I am using Jfreechart in one of my projects. I have a peculiar problem with line chart. On X axis we have time as unit I want to have sta开发者_开发知识库tic range for lets say for 300 secs and after that it should switch into autorange mode. How to do this.
Ok that was pretty simple enough.
domainAxis = plot.getDomainAxis();
domainAxis.setRange(0,300);
精彩评论