dynamic « Series « JFreeChart Q&A





1. Using JFreeChart to display recent changes in a time series    stackoverflow.com

How can I use JFreeChart to display just the most recent data in a continually updated time series?

3. Add series dynamically    jfree.org

4. Need help in dynamic chart using TimeSeries    jfree.org

I am using TimeSeries in my chart. The XYPlot is using DateAxis. The chart updates correctly along the time axis. But one thing is not quite what I want. When time goes by, the chart becomes more and more crowded, I mean it cramps together. It takes a long time for the first time tick move out of the view. The ...

5. bug in dynamic time series?    jfree.org

bug in dynamic time series? by watzlaw Mon May 15, 2006 8:40 am hi, i am currently working on a real time montitor for a set of timeseries. At the beginning all works fine, but after a short while tons of exceptions are thrown. During the implementation i followed the example ("Memory Usage Monitor") of the documentation. the code is ...

6. Renaming TimeSeries Dynamically    jfree.org

I got this answer from SeanMcCrohan in another post: The way to rename a TimeSeries is 1. remove all series from the dataset 2. add new TimeSeries with new name The code would look something like this (inside an event such as getActionCommand). In this example, you can re-draw the graph with new name and datapoint. -------------------------------------- this.dataset.removeAllSeries(); this.series = new ...

7. Dynamic Timeseries chart with more than one Y-axix    jfree.org

hai all.. i am a newbie to the world of java charting.. I have a doubt... How to display a dynamic timeseries cahrt with more than one y-axis.. actually wen we create a dynamic timeseries chart the time duaration is always same. i Need to increase the total time duration. that's i have to display the whole data collected for a ...

8. dynamic timeseries chart - display day, week, month, etc.    jfree.org

Hi, I am using JFreeChart to display a dynamic TimeSeries chart in an applet. I want the user to be able to choose a time window for the data displayed. ie. Show the last Hour, Day, Month, or Year As data gets dynamically added I want to push any old data off the axis (at this point I don't know whether ...

9. Dynamic TimeSeries Plotting - Left to Right    jfree.org

I am working on a dynamic data application using JFreeChart and I am having some issues getting the plot to display how I want it. The chart should be plotting data initially from left to right, but when it initially begins to plot data, the data displays from the right moving to the left. I believe the problem is with the ...





10. IllegalArgumentException when using dynamic TimeSeries chart    jfree.org

I've encountered an IllegalArgumentException several times when creating dynamic bar charts using an XYPlot with four TimeSeries. I add new data to the chart every five seconds. The exception shows up after running the application for roughly 5-10 minutes. Exception: Exception in thread "main" java.lang.IllegalArgumentException: Range(double, double): require lower (1.210950555964E12) <= upper (1.209568155964E12). at org.jfree.data.Range.(Range.java:90) at org.jfree.data.time.TimeSeriesCollection.getDomainBounds(TimeSeriesCollection.java:615) at org.jfree.data.general.DatasetUtilities.findDomainBounds(DatasetUtilities.java:635) at org.jfree.chart.renderer.xy.XYBarRenderer.findDomainBounds(XYBarRenderer.java:924) ...

11. problems with dynamic time series    jfree.org

by RoyW Fri Jul 11, 2008 10:02 pm You need 2 datasets and 2 renderers The first dataset contains the real data The second dataset contains the thoretical data Set the colors for the renderers to the same Set the width of the first renderer to a wide stroke. Code: Select all import org.jfree.chart.ChartFrame; import org.jfree.chart.JFreeChart; import org.jfree.chart.axis.NumberAxis; import org.jfree.chart.plot.Marker; ...

12. XYTextAnnotation in dynamic time series    jfree.org

hello. i have a problem with XYTextAnnotation in dynamic time series. see image below: the XYTextAnnotation dont refresh. i have this code: Code: Select all for(int i = 0; i< stringText.length; i++) { ...

14. Adding marker to dynamic timeseries.    jfree.org

I have a dynamic timeseries and I want to draw a vertical line when the user clicks on a particular point. I tried using domain marker.I have the X axis as the timestamps got from the database.I have calculated the time at which the user clicks , adn it is accurate. I have calculated the time as a long. However, the ...