File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tooltip

 
shalini gnana
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one say me how to implement a tooltip for co-ordinates in graph using graphics
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Enable tooltips for the component that you are using to draw your graph and use the "public String getToolTipText(MouseEvent e)" version of the method - you can use the coordinates of the MouseEvent to get the tooltip that you need.
 
shalini gnana
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you...
Pls say me, how can i place the label in all co-ordinates while drawing a graph?
 
shalini gnana
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you...
Pls say me, how can i place the label in all co-ordinates while drawing a graph?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic