JFreeChart line chart with text at each point
I would like put text over each point I plotted in a line chart. This is what I can do: And this is what I need (names of point are in green): The StandardXYItemLabelGenerator should work; there's an example here . Addendum: The labels you can see in the picture are in a separate string array. Such labels may be incorporated in the XYDataset , as shown in LabeledXYDataset below. Because none of the features of StandardXYItemLabelGenerator are used, a custom implementation of XYItemLabelGenerator is sufficient. The XYItemRenderer controls the color, size and relative position of the labels.