• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tooltip

 
shalini gnana
Ranch Hand
Posts: 189
  • 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
  • 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
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic