How can I subscribe to a given JFreeChart object to be notified about changes to the series set i.e. a new series inserted or a new data point added to the series?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For a Dataset:
or for the JFreeChart itself:
And I am sure, that also works for the Plots in between and the Series at the end.
EDIT: To only listen for added/removed series: