Absent your sscce the problem is not apparent. It may help to compare your data set to a typical CategoryDataset
such as this one that has distinct series (row) and category (column) keys. Also, adding a CategoryItemLabelGenerator
may aid debugging.
renderer.setBaseItemLabelGenerator(
new StandardCategoryItemLabelGenerator(
"{0} {1} {2}", NumberFormat.getInstance()));
renderer.setBaseItemLabelsVisible(true);