How do I make a line graph?
Based on array variable 1, 2, 3, etc.
Use the array values to define x-y-coordinates and create sprites to stretch themselves between those coordinates.
or you could use the canvas plugin to draw the graph based on coordinates created from the array values.
Develop games in your browser. Powerful, performant & highly capable.
If you will not use multidimensional arrays i prefer texts. Here's a example with changing text variable
http://www.scirra.com/arcade/example/10017/automatic-line-graph-system