AbstractChartDisplayer abstractChartDisplayer = (AbstractChartDisplayer) getDataDisplayer();
DataProperty property = abstractChartDisplayer.getDomainProperty();
Integer series = Integer.decode(request.getRequestObject().getParameter(PARAM_NSERIE));
DataSet dataSet = abstractChartDisplayer.buildXYDataSet();
Interval interval = (Interval) dataSet.getValueAt(series, 0);
Dashboard dashboard = DashboardHandler.lookup().getCurrentDashboard();
if (dashboard.filter(property.getPropertyId(), interval, FilterByCriteria.ALLOW_ANY)) {
return new ShowCurrentScreenResponse();
}
} catch (Exception e) {
log.error("Cannot apply filter.",e);
}