Grafica library
This example shows how easy is to include a XY plot in your sketches. Create a new GPlot, fill an array with points, add the array to the plot, write the title and axis labels and you are done. It's that simple!
For more details, check the source code or play with it at JSFiddle.