Create ChartResource.java