Search found 8 matches

by 84923331
Mon Aug 10, 2009 8:52 pm
Forum: JFreeChart
Topic: Real time chart drawing with custom dataset?
Replies: 1
Views: 3814

Real time chart drawing with custom dataset?

I am trying to do some real time chart drawing with a custom dataset and am having troubles. Basically the chart is not updating as the values are added. I first tried adding something like a notifyall or notifylisteners however this did not work. I tried different ways of implementing a custom data...
by 84923331
Thu Aug 06, 2009 4:09 pm
Forum: JFreeChart
Topic: Changing x-axis values interpretation
Replies: 1
Views: 2516

Changing x-axis values interpretation

When I use data in the form of seconds as integers 50000, 50001, 50002 for the time axis in a time series plot the x-axis labels show up as 19:00:50.000, 19:00:50.001... Is there a way to change the default interpretation of x-axis data so that it will properly divide the number by 60 etc so that it...
by 84923331
Wed Jun 24, 2009 4:51 pm
Forum: JFreeChart
Topic: Adding x values and y values as separate series 1.0.13
Replies: 3
Views: 4701

Re: Adding x values and y values as separate series 1.0.13

For those interested I'll post what I have so far: The implemented XYDataset: import java.util.Vector; import org.jfree.data.DomainOrder; import org.jfree.data.general.DatasetChangeListener; import org.jfree.data.general.DatasetGroup; import org.jfree.data.xy.XYDataset; /** * Holds all of the inform...
by 84923331
Wed Jun 24, 2009 2:42 pm
Forum: JFreeChart
Topic: Adding x values and y values as separate series 1.0.13
Replies: 3
Views: 4701

Re: Adding x values and y values as separate series 1.0.13

This sounds like a sound solution, I will try to use this method. Thanks for the fast reply!
by 84923331
Wed Jun 24, 2009 2:23 pm
Forum: JFreeChart
Topic: Adding x values and y values as separate series 1.0.13
Replies: 3
Views: 4701

Adding x values and y values as separate series 1.0.13

Is it possible to create a series with only 1 parameter, as in one list of numbers for use in either xy series or time series. Right now to plot a series I add data to to a xy series with .add(x, y) where x and y are the x and y values to be plotted. I would like to know if you can create a series w...
by 84923331
Tue Jun 16, 2009 3:51 pm
Forum: JFreeChart
Topic: To Those Who Use JFreeChart for Dynamic Plotting/Large Sets
Replies: 100
Views: 262771

Re: To Those Who Use JFreeChart for Dynamic Plotting/Large Sets

This may sound like a stupid question but I was wondering how do you incorporate these fast classes into the existing jfreechart package? Whats in the zip file are a bunch of java files. I'm using eclipse IDE. I'm thinking that I have to load the entire existing jfreechart package as a project in ec...
by 84923331
Fri Jun 12, 2009 9:00 pm
Forum: JFreeChart
Topic: Plotting a time series
Replies: 1
Views: 2943

Re: Plotting a time series

update:
I got it working by switching from time series to XYLineChart and XY..series and the other corresponding classes for XY stuff. I would still like to get correctly formatted time labels though.
by 84923331
Fri Jun 12, 2009 2:25 pm
Forum: JFreeChart
Topic: Plotting a time series
Replies: 1
Views: 2943

Plotting a time series

Hi, I need help plotting a time series with java. Here's what I have so far: - a java internal frame where I want to display the graph - a JFreeChart chart - a ChartPanel panel added into the internal frame, initialized with my chart - a TimeSeries series - a XYDataset initialized with the series - ...