wakaxx / afreechart

Automatically exported from code.google.com/p/afreechart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem creating moving averages

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Create a TimeSeries of Milliseconds or FixedMilliseconds
2. Add a MovingAverage to the TimeSeriesCollection

 MovingAverage.createMovingAverage(priceSeries, "SMA 138", 138, 0));

3. Use the TimeSeriesCollection together with a XYPlot and 
XYLineAndShapeRenderer.

What is the expected output? What do you see instead?
I expect to see the same moving average as is I use Minute or Day as 
RegularTimePeriod. What I see is a moving average following the priceSeries 
exactly.

What version of the product are you using? On what operating system?
Version 0.0.4 on Android 4.1.1

Please provide any additional information below.
Creating moving averages does not work for XYLineAndShapeRenderer when the 
timeseries has a Millisecond RegularTimePeriod.

Original issue reported on code.google.com by markus.k...@gmail.com on 28 Aug 2012 at 7:01