get stock purchasing working and ajax refresh working
draw a new chart each time