point_values view added
function added to format peewee query as JSON for google charts