本文介绍了JFreeChart:使工具提示的持续时间更长的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
图表上有工具提示,当我将鼠标悬停在特定部分上时会显示这些提示.但是,显示的时间不足以满足我的要求.我找不到任何会影响工具提示显示持续时间的方法.
I have tooltips on my chart which are shown when i hover over the specific part. However it is not shown long enough for my requirements. I was unable to find any methode that would affect the duration that a tooltip is shown.
有什么想法可以使工具提示的使用期限更长吗?
Any ideas how to make a tooltip last longer?
推荐答案
ChartPanel类具有其自己的工具提示设置,方法的名称不是特别好:
The ChartPanel class has its own tooltip settings, the methods are not especially well named:
这些设置将应用于全局工具提示管理器,但仅当鼠标指针位于ChartPanel组件的范围内时才会显示.
These settings are applied to the global tool tip manager, but only while the mouse pointer is within the bounds of the ChartPanel component.
这篇关于JFreeChart:使工具提示的持续时间更长的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!