Dear all,
I am new to this jFreeChart and would like to ask for advice. Iam trying to develop a software that is able to read data from an input (for example data flowing in real time) and plot a real time line chart. The data was recorded in excel but not real time, this time i want to plot the data in real time with chart. And this chart monitor will be placed inside my java swing application.
Anyone knows if jFreeChart can help?
Thanks a lot in advance.
Can jFreeChart help me?
JFreeChart is a charting library that helps to plot all kind of charts, see the JFreeChart Applet Demo. I have used it to pull the data from DB and displayed all kinds of charts.
If you have data in Excel then you could use a SQL* Loader or External table to load that into DB and then use the JFreeChart for displaying the charts.
JFreeChart works well with standalone and server applications.
Hope this might help you.
Laks.
If you have data in Excel then you could use a SQL* Loader or External table to load that into DB and then use the JFreeChart for displaying the charts.
JFreeChart works well with standalone and server applications.
Hope this might help you.
Laks.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It all depends on what you mean by "real-time flowing chart". JFreeChart can create charts that update multiple times per second, but it isn't ideally suited to this task because it redraws the whole chart for every frame. This uses more CPU cycles than strictly necessary...whether or not that is a problem depends on your data, the types of charts you are drawing, the frequency of updates, the hardware you are running on, and all sorts of other things that I don't know about. My advice: put together a prototype and see if it performs well enough for your requirements.android21 wrote:is jFreeChart can generate a real-time flowing chart?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


As soon as you have the data, jFreeChart can help you plot it.android21 wrote:oh Thanks for the reply, but iam really new to his jFreeChart, not even sure how i am going to connect to JDBC to get the data yet.
Most likely nothing can, as that interval is shorter than the time it takes to generate a chart using any library I've seen.So if the data comes in every microsecond, jFreeChart can't really help me?
Thank you