简体   繁体   English

JFreeChart:使工具提示持续更长时间

[英]JFreeChart: Make tooltips last longer

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? 任何想法如何使工具提示持续更长时间?

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. 这些设置应用于全局工具提示管理器,但仅在鼠标指针位于ChartPanel组件的边界内时。

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

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