JFreeChart ToopTip Display Time Question

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
zhangle
Posts: 4
Joined: Wed Mar 09, 2011 9:27 am
antibot: No, of course not.

JFreeChart ToopTip Display Time Question

Post by zhangle » Wed Mar 09, 2011 10:01 am

Hello everyone:

tooltip is auto displayed, but the show time was too short, how can we extend the tooltip display time?

thanks.

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: JFreeChart ToopTip Display Time Question

Post by paradoxoff » Wed Mar 09, 2011 9:39 pm

ChartPanel.setDismissDelay(int timeInMillis);

zhangle
Posts: 4
Joined: Wed Mar 09, 2011 9:27 am
antibot: No, of course not.

Re: JFreeChart ToopTip Display Time Question

Post by zhangle » Thu Mar 10, 2011 2:43 am

paradoxoff wrote:ChartPanel.setDismissDelay(int timeInMillis);
that's right,thank you very much.

Askur
Posts: 8
Joined: Tue Feb 19, 2013 9:26 am
antibot: No, of course not.

Re: JFreeChart ToopTip Display Time Question

Post by Askur » Tue Apr 01, 2014 10:41 am

Sorry for digging up this old post but I have exactly the same question and I don't get how I get access to an instance of ChartPanel from within my jfreeChart or its plot ?

remiohead
Posts: 201
Joined: Fri Oct 02, 2009 3:53 pm
antibot: No, of course not.

Re: JFreeChart ToopTip Display Time Question

Post by remiohead » Thu Apr 03, 2014 12:53 am

It's a Swing container for a JFreeChart.

http://www.jfree.org/jfreechart/api/jav ... Panel.html

Locked