You can draw lines using canvas.drawline.

You can make these smoothed lines by specifying your points in a Path
class.

Once you load your points in the Path array, it is a couple of lines
of code to draw it with the Canvas class.

If this is all you want to do, it doesn't need any third party
libaries.



On May 22, 3:12 am, SamuelXiao <[email protected]> wrote:
> Hi all,
>
> I am a newbie and writing an app which just needs to plot the
> quadratic equation graph, that is, y=ax^2+bx+c. Now my problem is
> about how to plot the graph. I want to make the graph has the effect
> like 
> that:http://www.appbrain.com/app/math-functions-drawing/siriosoft.math.fun...
> (the right-hand side image).
>
> Does anyone know how to make it? I tried to 
> usehttp://w2davids.wordpress.com/creating-charts-with-droidcharts-for-an...
> this sample but found the line does not display as smooth as expected
> and it doesn't display negative side (it just show the positive side,
> e.g. x=0,1,2....).
>
> Any help would be highly appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to