Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using JavaFX to generate a real-time charter

Kk Alistair
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A charting application is being put together using JavaFX XYChart program. For example a charting program may be quickly generated using JavaFX XYChart as listed below. I would however like to update the series once it has been drawn. Can you provide suggestions on how to implement real-time (moving) updates to the horizontal XYchart bar chart code?

From what I have read concurrency or queues may be used (for example as below) -- although I have been unable to get this approach to work with horizontal XYCharts bar charts as above.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!