1

Is there is a way to click on a JFreeChart bar to lunch an event ? if there's any other chart libraries which support clickable bars please guide me to it, what i really need is after creating the chart the user is able to click on one of the bars to do some other work is that possible ?

nachokk
  • 14,363
  • 4
  • 24
  • 53
Akhadra
  • 419
  • 3
  • 10

1 Answers1

1

Add a ChartMouseListener to the enclosing ChartPanel, as shown here.

image

Community
  • 1
  • 1
trashgod
  • 203,806
  • 29
  • 246
  • 1,045