Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EventHandling on pi-chart  RSS feed

Nuzhar Khan
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use a panel on which i add mouselistener so i can recive evnt of mouse over.
i made a pi-chart on panel using drawArc method of Graphics.
I draw each sector of pi chart with different color
(by changing the drawing color).
means i get a chart consist on 4 sector each sector shows different color
when mouse move over panel or pichart i recieve event
but i want if mouse is over specific region say red color sector
i get know that mouse is over red region?
how is possible?
please rectify my problem as soon as possibel
Thanx in advance

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!