开发者

Get minimal visible value in plot

I am using current version of JFreechart, plot is XYPlot type.

After zooming-in xyplot with

zoomablePlot.zoomDomainAxis(...);
zoomablePlot.开发者_开发问答zoomRangeAxis(...);

I would like to get minimal visible value on domain axis. The DataRange object

//plot is XYPlot type
Range dataRange = plot.getDataRange(...);

contains only 'global' minimum value, not currently displayed.


The following should give you what you want.

plot.getRangeAxis().getLowerBound();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜