Fix display different charts according to dep_id