Chart Composite - Make tooltips last longer

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Rex Feral
Posts: 11
Joined: Tue Feb 23, 2016 8:48 am
antibot: No, of course not.

Chart Composite - Make tooltips last longer

Post by Rex Feral » Mon Jun 06, 2016 12:58 pm

Currently working on an Eclipse plugin with Jfreechart, I have chart composites with some custom tooltip generators that show information from a data provider. Problem is they only last for about 5 seconds then disappear. I want them to last until I move the mouse.

I know the usual solution is to use the methods :
setInitialDelay()
setDismissDelay()
setReshowDelay()

from the ChartPanel, but since I work in SWT with ChartComposite I don't use any Chart Panels.

So what do I have to hack/duplicate/inherit and override to make it work?

Locked