Fixed chart handling of val_type filter (min, max, avg)