Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add a actionListener to a pie chart? #788

Open
HowLoveLee opened this issue Sep 27, 2023 · 0 comments
Open

Is it possible to add a actionListener to a pie chart? #788

HowLoveLee opened this issue Sep 27, 2023 · 0 comments

Comments

@HowLoveLee
Copy link

I am trying to create a function where when you click on the pie piece all transactions related to that pie populate a list but It doesn't seem to be a way to get String clickedCategory = chart.getPlot().getCategoryForScreenCoordinate(chart, x, y); is this not athing? what is a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants