I looked at the XYDataset interface and saw it had no getSeriesKey() method, and started wondering how ChartFactory.createXYLineChart() could possible be accessing the labels I give to my lines then, since all it takes is an XYDataset. I've tracked the call chain through about 5 classes, and have finally found, in StandardXYSeriesLabelGenerator, this: /** * Creates the array of items that ...