Re: [Graphs-users] JPlot
Brought to you by:
vanderlee
From: Jan v. d. L. <Jan...@en...> - 2003-05-13 12:34:44
|
On Tuesday 13 May 2003 12:57 pm, David Churches wrote: > Hi, > > I am interested in using JPlot inside another application. My main > problem is that I will not be using files to get the data into JPlot, b= ut > be passing data into it in real-time as the application runs. > > Is there any support for a non-file-based mode for getting the data int= o > JPlot? Hello, Check the update method in JPlot.java: it uses a DataFile object which actually contains the data in vectors. It is straightforward to derive this class and to feed the DataFile object with another type of stream than a file-stream. Hence it can be done, but requires some new coding. But to answer your question more precisely: version 1.2 has no built-in support for dealing with generic data-streaming. Keep an eye on the website: the next release (this summer) will include all the support you need. Regards, -Jan. --=20 Jan van der Lee |