change time tool tips are displayed

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
superfield
Posts: 26
Joined: Thu Jun 07, 2007 10:07 pm

change time tool tips are displayed

Post by superfield » Wed Jul 18, 2007 7:28 pm

Hi all!

When I hold my mouse over a point it displays the tool tip for about three seconds. I want it to be displayed for much longer. I've read the javaDoc and the manual but I don't see any mention of this. Does anyone know what class I should overide or what method I should use?

Thank you in advance.

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Wed Jul 18, 2007 7:42 pm

Code: Select all

chartPanel.setInitialDelay(int delay)
chartPanel.setReshowDelay(int delay)
chartPanel.setDismissDelay(int delay)

superfield
Posts: 26
Joined: Thu Jun 07, 2007 10:07 pm

Post by superfield » Wed Jul 18, 2007 8:09 pm

Thank you! I didn't know it was controlled by the ChartPanel class. Silly me!

Locked