I've added an enum in the ChartServlet