add chartData endpoint that looks for a query with the appropriate GUID