ScatterPlotDemo1.java

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mdjy9953
Posts: 4
Joined: Wed Apr 23, 2008 6:03 pm

ScatterPlotDemo1.java

Post by mdjy9953 » Mon May 05, 2008 10:10 pm

Hi experts,

Any idea how I may adjust the example of "ScatterPlotDemo1.java", in the jfreechart demo, so that the program repeatedly re-read data from a file and then displays the updated data on the chart? In other words, I want to build a "dynamic ScatterPlotDemo".

Another issue, is it possible to "move" a data item from one series to another? if possible, any clue how?

mdjy9953
Posts: 4
Joined: Wed Apr 23, 2008 6:03 pm

still looking for help

Post by mdjy9953 » Tue May 06, 2008 4:51 pm

Hi Experts,

I'm still looking for your help, please. I'm quite hopeful you can help.

Thanks.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: ScatterPlotDemo1.java

Post by david.gilbert » Wed May 07, 2008 9:43 am

mdjy9953 wrote:Any idea how I may adjust the example of "ScatterPlotDemo1.java", in the jfreechart demo, so that the program repeatedly re-read data from a file and then displays the updated data on the chart? In other words, I want to build a "dynamic ScatterPlotDemo".
There are so many formats that could be used for data in a file. So JFreeChart mostly avoids getting involved in that - you need to write your own code that extracts the data from the file, and updates the JFreeChart dataset accordingly.

mdjy9953 wrote:Another issue, is it possible to "move" a data item from one series to another? if possible, any clue how?
It depends on the dataset implementation you are using. But in principle, just delete the item from one series, and add it to another.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

radan
Posts: 3
Joined: Thu May 08, 2008 2:26 pm

Change Point Size in ScatterPlot

Post by radan » Thu May 08, 2008 2:29 pm

Do Anybody now how cann a Change the size if the ScatterPlot Points? Any code snippet?

Thanks a lot?

Locked