[FIX]hr,department: dont display record in graph which is in cancel or refuse state.