use of net.sourceforge.processdash.ev.EVTaskListFilter in project processdash by dtuma.
the class TimeRatioMemberTrackingChartData method recalc.
public void recalc() {
clearSeries();
// see if the user has permission to view personal data in this chart
UserFilter f = GroupPermission.getGrantedMembers(permissionID);
if (f == null)
return;
EVTaskListFilter pf = new EVTaskListGroupFilter(f);
MemberChartNameHelper nameHelper = new MemberChartNameHelper(rollup);
for (int i = 0; i < rollup.getSubScheduleCount(); i++) {
EVTaskList tl = rollup.getSubSchedule(i);
String personalDataID = tl.getPersonalDataID();
if (personalDataID != null && !pf.include(personalDataID))
continue;
EVSchedule subsched = tl.getSchedule();
String seriesName = nameHelper.get(tl);
maybeAddSeries(subsched.getTimeRatioTrackingChartSeries(seriesName, maxDataPoints));
}
}
Aggregations