return "reporting/categories";
}
@RequestMapping("/categories-chart/{id}/{intervals}")
public String expensesByCategoryOverTimeChartData(@PathVariable final Long id, @PathVariable final String intervals, final ModelMap modelMap) {
UserDetails user = getCurrentUser();
Interval interval = getInterval(intervals);
Subcategory subcat = Subcategory.findSubcategory(id);
Map<String, BigDecimal> maxValues = cache.getMaxCategoryData(user, subcat, intervals);
Map<String, Map<Date, NameValuePair<Date, BigDecimal>>> budgetData = cache.getAlloted(user, subcat, intervals);
Map<String, Map<Date, NameValuePair<Date, BigDecimal>>> currencyData = cache.getCategoryData(user, subcat, intervals);