Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tooltip  RSS feed

 
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
Boost this thread!