I need to change this code in such a way that X Axis contains time stamps in the format \"H:M\", e.g. 10:00.
private static XYDataset createCategoryDataset(M
Use setDateFormatOverride() on the axis with a suitable DateFormat:
axis.setDateFormatOverride(new SimpleDateFormat("HH:mm"));