public class GraphController extends AbstractController {
protected ModelAndView handleRequestInternal(HttpServletRequest req, HttpServletResponse res) throws Exception {
Dataset storico = (Dataset) req.getAttribute(Constant.SPEDIZIONE);
XYChart chart = new XYChart(new SpedizioneCriteria());
Map<Object, Object> model = new FastMap<Object, Object>();
model.put(Constant.GRAFICO, chart.getGraph());
return new ModelAndView(new PngView(), model);
// return null;
}