开发者

Get minimal visible value in plot

开发者 https://www.devze.com 2023-03-19 20:20 出处:网络
I am using current version of JFreechart, plot is XYPlot type. After zooming-in xyplot with zoomablePlot.zoomDomainAxis(...);

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

精彩评论

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