开发者

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜