Hi!!
I have a scatterplot chart and I want to use a status bar (that shows exactly the same text of the tool tips) instead of using a tool tip.
Is it possible? if it isnt, how can i make the tool tips to show (all the time) while the mouse is over the point (and not disappear after some time)?
Thanks!!
Elio
status bar instead of tool tips
Re: status bar instead of tool tips
Elio,
You can use OverLib (http://www.bosrup.com/web/overlib/) to display the tooltips which will display the tooltips all the time. Look for the options in the ChartUtilities methods.
Regards,
Richard...
You can use OverLib (http://www.bosrup.com/web/overlib/) to display the tooltips which will display the tooltips all the time. Look for the options in the ChartUtilities methods.
Regards,
Richard...
status bar instead of tool tips ...
Thanks for the response!!!
But what i want to do is that the tooltip seems to disappear after about 3 seconds, and i want to make it static (disappear oly when the mouse isnt over the point).
How can do it?
Thanks!!
Elio.
But what i want to do is that the tooltip seems to disappear after about 3 seconds, and i want to make it static (disappear oly when the mouse isnt over the point).
How can do it?
Thanks!!
Elio.
Re: status bar instead of tool tips
That's what OverLib does because it uses Javascript and DHTML to produce the tooltip rather than relying on the browser implementation of tooltips. Check out the OverLib web site to see for yourself.
Regards,
Richard...
Regards,
Richard...
Re: status bar instead of tool tips
Sorry, i forget to say that i am using jfreechart with swing (jframe).
Thanks again!!!
Elio.
Thanks again!!!
Elio.
Re: status bar instead of tool tips
Hi Elio,
If you look in the getToolTipText(...) method of the ChartPanel class, you'll see how the text is obtained. You could display the same text, or anything else derived from the ChartEntity, on a status bar or anywhere else you want.
An alternative approach is to register a ChartMouseListener with the ChartPanel and receive events that contain information about the current mouse position, including the current ChartEntity (if any) at the mouse point.
Regards,
DG.
If you look in the getToolTipText(...) method of the ChartPanel class, you'll see how the text is obtained. You could display the same text, or anything else derived from the ChartEntity, on a status bar or anywhere else you want.
An alternative approach is to register a ChartMouseListener with the ChartPanel and receive events that contain information about the current mouse position, including the current ChartEntity (if any) at the mouse point.
Regards,
DG.