You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
I am using:
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!
The text was updated successfully, but these errors were encountered: