use of websql database to insert a timed series to draw on other graphs