Discussion about JFreeChart related to stockmarket charts.
-
shivek.sachdev
- Posts: 3
- Joined: Sat Sep 08, 2007 7:00 pm
Post
by shivek.sachdev » Sun Oct 14, 2007 12:57 pm
hey,
i have plotted a line graph of the stock price
now how can i draw the graph for the Moving Average
there's a function, but i donno how to use it
please help me out...
using the "org.jfree.data.time.MovingAverage"
and the function is MovingAverage.createMovingAverage
can i use it with a XYDataseries? or is it only for XYDataset???
-
jwenting
- Posts: 157
- Joined: Sat Jul 15, 2006 7:46 am
Post
by jwenting » Mon Oct 15, 2007 10:11 am
Check the documentation, it clearly answers your question.
-
shivek.sachdev
- Posts: 3
- Joined: Sat Sep 08, 2007 7:00 pm
Post
by shivek.sachdev » Mon Oct 15, 2007 11:25 am
which documentation???
i tried looking at the examples... im still not quite sure
cheers,
Shivek
-
jwenting
- Posts: 157
- Joined: Sat Jul 15, 2006 7:46 am
Post
by jwenting » Mon Oct 15, 2007 11:41 am
the javadoc for JFreeChart. There you'll find every class and method that's publicly accessible.