TimeSeries 2 « Series « JFreeChart Q&A





1. Need Help in Timeseries Chart --    jfree.org

Hi All, I have two dimensional data, ie say | 2008-12-26 16:00:00 | Comapny 1 | 395.00 | | 2008-12-26 16:00:00 | Company 2 | 204.80 | | 2008-12-26 16:00:00 | Company 3 | 1210.15 | I want to plot timeseries chart as line, and the comapany names in legends. right now i am able to plot the chart but can't ...

3. time series diagramm (very detailed)    jfree.org

Hello, the last time I used JfreeChart I used it for just creating X/Y values, which was very easy. This time we are measuring sensor data over a period of many days with about one value every minute and I need to catch all in our diagramm (cf. zoom option). So - is it possible to store this in a JfreeChart ...

4. online time series chart    jfree.org

Hi, in need to create a time series chart, where the timeseries is modified in the time, to be more precise, a new value si added every 30 sec. I have overcome it creating a new chart every time, but some time the refresh is not immediately and it seems like if the program try to write the new chart over ...

5. Auto-range is only calculated over the first timeseries    jfree.org

Hello, I've updated JFreeChart from 1.0.12 to 1.0.13 to fix the slow selection when running in accelerated mode, but after the update i encounter a problem: in some cases the auto-range calculation is done only on the first added timeseries. This means that I have to zoom out manually to show the other timeseries. Some things to note: - all timeseries ...

7. TimeSeries charts    jfree.org

I'm running into an threading issue with the TimeSeries rendering. I wish to use TimeSeries in my data model, which can be updated by a non AWT-EventQueue thread. In order limit memory usage, i use the TimeSeries delete method to prune the 0th entry. However, the chance exists that the AWT-EventQueue is processing repaint of the data, giving me RangeCheck exceptions. ...

8. Maximum age for time series    jfree.org

I have set the maximum age for the time series as 60 seconds. Now I am plotting for 2 time series. After some time i am stopping one of the series; but the graph keeps showing the time series which i have removed and it does not maintain the maximum age that i have set. Can any one help me out. ...

9. TimeSeries Chart with DST Problem (David, help me.)    jfree.org

I'm using jfreechart to display data from database in realtime. Works great until I reach the day when daylight saving time is 00:59 (November 1, 2009 EDT) to 1:00 (November 1, 2009 EDT). Because of the class Millisecond gets the wrong time, it changes 1:00(EDT) to 1:00(EST). Is there a good way to solve this problem besides override the class of ...





11. Adding TimeSeries Moving Average To OHLCDataset (Candlestic)    jfree.org

Adding TimeSeries Moving Average To OHLCDataset (Candlestic) by yccheok Thu Oct 08, 2009 7:15 am I build the TimeSeries type moving average information, by using priceTimeSeries (TimeSeries type). To display the information, I then add Moving Average TimeSeries information to priceDataset (XYDataset type). Code: Select all private void updateMovingAverage(int days, boolean show) ...

12. Timeseries addorupdate problem    jfree.org

13. TimeSeries with same dataname?    jfree.org

Is there possible that there are same dataname in TimeSeries? Such as: TimeSeries tempSer1 = new TimeSeries("dataName", Millisecond.class); TimeSeries tempSer2 = new TimeSeries("dataName", Millisecond.class); How can I differ tempSer1 from tempSer2? TimeSeriesCollection xyData = new TimeSeriesCollection(); int index1 = xyData.indexOf(tempSer1); int index2 = xyData.indexOf(tempSer2); sametimes, the index1 will be equal with index2. Any help will appreciate.

14. Time Series Chart    jfree.org

Hi Group, I have been using JFC for couple of months and I could understand as how it works. The problem i am facing (I am not sure if this can be done) is using Marker with TimeSeries Chart. My objective is to have a Marker if there is discontinuity in the graph ( i get this using Null , as ...

15. DST Time Series Duplicate    jfree.org

Hi, I'm trying to add data to a TimeSeries object, using the Second class for the period. However I get this exception: Exception in thread "AWT-EventQueue-0" org.jfree.data.general.SeriesException: You are attempting to add an observation for the time period Sun Apr 05 02:00:00 EST 2009 but the series already contains an observation for that time period. Duplicates are not permitted. Try using ...

16. Fetch TimeSeries    jfree.org

Ok, but if I have two items and click in the white space between, the crosshair choose the closest item, which is perfectly fine. Question: can I in code find out which item the crosshair chose? The crosshair obviously finds the item, so I would assume it should be able to tell me as well..? regards, Stefan





18. update TimeSeries Chart Object    jfree.org

19. CombinedDomainXYPlot with TimeSeries    jfree.org

CombinedDomainXYPlot with TimeSeries by jnovice Mon Feb 22, 2010 12:28 pm Hello, I am going to create CombinedDomainXYPlot with 4 subplots. This method creates plot with line and bars: Code: Select all private XYPlot createPriceAmountPlot() { TimeSeriesCollection amountColl = new TimeSeriesCollection(); ...

20. This Time Series is correct?    jfree.org

21. TimeSeries chart with a marker    jfree.org

Hi, I'm trying to plot a time series chart. The data set has time, value pairs along with a marker for each value. The marker is a string associated with each value Example: (06/10/2010, 600, High) (06/10/2010, 400, Medium) (06/10/2010, 200, Low) The marker will be given based on the value. (example Label Low if value is between 0-200, medium if ...

22. TimeSeries with seconds    jfree.org

23. Sum two time series.    jfree.org

24. TimeSeries + Millisecond timezone shift    jfree.org

I have a database where I'm extracting data to generate an XYPlot where the x-axis is a TimeSeries. When I read the data into my software into a GregorianCalendar value and display the date/time, I get the correct value (relative to the database values). Then I load that value into a Millisecond object, which is then used in a call to ...

25. Comparing 2 TimeSeries by setting Base = 100    jfree.org

Hello, How can I draw relatively compare 2 TimeSeries by drawing them as lines where the start of rangeAxis is set to 100 (or an another constant)? In statistics this happen 'all the time' (e.g. chart prices oil v.s. gas, january 2005 = 100). Currrently my workarround is to calculate a relative TimeSerie (which starts at 100) myself. However I want ...

27. timeseries chart    jfree.org

28. Time series for intraday charts (mon-fri, 9.30 - 4.00pm)    jfree.org

Bill Kelemen has added (in 0.9.9) a SegmentedTimeLine class that is used with a DateAxis to exclude certain time periods from the axis. I'm pretty sure you can use this to display intra-day prices without showing gaps for the non-trading hours...but I haven't worked closely with the code yet, so you'll have to read the source code and Javadocs to get ...

29. TimeSeries Chart DST Problem    jfree.org

Hi all, I am using the TimeSeries chart to display data every 15 minutes within 24 hours (96 values). Works great until I reach the day when daylight saving time ends (100 values). I cannot have the values within the hour between 2:00 and 3:00 CEST displayed, it always switches straight to 2:00 CET when reaching 2:00 CEST, although the chart ...