how to create graph in real time for monitoring
how to create graph in real time for monitoring
Hi, anyone who can graph data in real time, and graphing like a monitor.
If you have purchased the developer's guide, there is a dynamic chart example in chapter 9 that monitors the JVM memory usage in real time.
In short, you have to set the history count of a TimeSeries that you use in the Chart, and keep adding new points to the TimeSeries. The notification system in JFreeChart will take care of the updating automatically.
The guide is really worth it, and JFreeChart is really a wonderful project. Thanks for all the great work!
In short, you have to set the history count of a TimeSeries that you use in the Chart, and keep adding new points to the TimeSeries. The notification system in JFreeChart will take care of the updating automatically.
The guide is really worth it, and JFreeChart is really a wonderful project. Thanks for all the great work!