private LineChart getHourlyGraph(StateReport report, String domain, Date start, Date end, String key, String ip) {
LineChart item = new LineChart();
item.setStart(start).setSize(60).setTitle(key).setStep(TimeHelper.ONE_MINUTE);
item.addSubTitle(key);
item.addValue(getDataFromHourlyDetail(report, start.getTime(), 60, key, ip));
return item;
}
private StateReport getHourlyReport(long date, String domain, String ip) {
return m_reportService.queryStateReport(domain, new Date(date), new Date(date + TimeHelper.ONE_HOUR));