-
-
Notifications
You must be signed in to change notification settings - Fork 568
Open
Description
I am using:
myBarRenderer.setDefaultToolTipGenerator(new StandardXYToolTipGenerator()
{
@Override
public String generateToolTip(XYDataset dataset, int series, int item)
{
return getCaption();
}
});
The function getCaption() returns some information about that particular bar using basic HTML.
What I would like to be able to do is make some/all of the information selectable, for copying into another application. Obviously you can do this from a standard HTML page, but clicking the mouse on the tootltip does nothing.
Have others had a similar problem to solve? Is there something I'm missing in the barrenderer (or jfreechart itself)? or do I need to write my own mousedown/mouseup event handler for the barrenderer? or is it best to use something in HTML (I haven't tried it yet, but I imagine it might be possible to use an HTML form input box, but ignore any changes to it?
Thanks for any pointers!
Metadata
Metadata
Assignees
Labels
No labels