Label in category bar chart with only 1 serie

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
nibe
Posts: 1
Joined: Thu Nov 06, 2014 11:00 am
antibot: No, of course not.

Label in category bar chart with only 1 serie

Post by nibe » Fri Nov 07, 2014 10:52 am

Hi,
I have a bar chart with 1 serie, I managed to show different colors per category even if I'm using only 1 serie. What I'm trying to do as next step is to add a different label above each bar. I use to use renderer.setSeriesItemLabelGenerator to set the label, but of course in this example all the value are the same because i have only 1 serie. Is there any way to set a different label for each bar?

thanks a lot

Locked