简体   繁体   English

放大/缩小后JfreeChart XYPlot冻结

[英]JfreeChart XYPlot freezing after zoom in/out

In this demo application, XYPlot is drawn with dynamic data. 演示应用程序中,XYPlot绘制有动态数据。 With every new data the graphic slides to left dynamically. 对于每个新数据,图形将动态向左滑动。 But the problem is if you zoom in or zoom out on XYPlot the graphic stops sliding and new data can not be seen on XYPlot. 但是问题是,如果在XYPlot上zoom inzoom out图形将停止滑动,并且在XYPlot上看不到新数据。

Is this a bug for JFreeChart or is it default behaviour for XYPlot ? 这是JFreeChart的错误还是XYPlot的默认行为?

This is default behavior. 这是默认行为。 To enable auto range behavior again, right-click inside the plot and select: Auto Range ► Both Axes . 要再次启用自动量程行为,请在图形内部右键单击并选择: Auto Range ► Both Axes

替代文字

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM