Added query results to chart