I reviewed the issue
how to display bar value above javafx panel
I tried the same code with data refresh. The text seems to remain as soon as the data is updated. I tried remove the text once added, but did not get success, since it is impossible to go through the parent object until the object is full XYSeries!
If you go to the following link, I changed the code and saved it refresh buttonbelow. Clicking on it chart gets new values, but the old Text stays. Is there a way to remove it before new values are sent to the chart
http://gist.github.com/abhinayagarwal/9474756
source
share