I have made a graph on Flash, but most of the logic is in php.
The data comes from something like this: http://finance.yahoo.com/q/hp?s=GOOG&a=07&b=14&c=2010&d=01&e=13&f=2011&g=d&z=66&y=66
In the X axis I have the date, in the Y axis I have a price (Adj close).
I could use these values or I could use the (x,y) coordinates that I use to actually draw the graph.
It's simple enough and it handles any amount of data (i.e. last week-last 6 months)
My client wants me to smooth the curve, there are some ways of doing it, he mentioned curve fitting and interpolation. He says that there's probably php functions already built for it (built by someone else).
Do you have any suggestions? Maybe a class that someone has written?
Any help will be appreciated!