JFreeChart 可见后如何更新其外观?
如何使用 JFreeChart
动态更新图表的外观 它已经变得可见了吗?
How can I use JFreeChart
to dynamically update a chart's appearance after it's been made visible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
类
ChartPanel
对此很方便,因为它具有控制图表整体外观的方法,包括属性和缩放状态。此外,还可以访问图表的组件,如下所示。此相关示例说明了缩放按钮的JToolBar
。The class
ChartPanel
is convenient for this, as it has methods to control the chart's overall appearance, including properties and zoom state. In addition it's also possible to access the chart's components, as shown below. This related example illustrates aJToolBar
of zoom buttons.