series name on the plot

Discussion about JFreeChart related to stockmarket charts.
Locked
fivelements
Posts: 1
Joined: Fri Oct 09, 2009 5:22 pm
antibot: No, of course not.

series name on the plot

Post by fivelements » Fri Oct 09, 2009 5:31 pm

Is it possible to show the name of the series on the (timeseries) plot? I have a plot with multiple series, and I'd like to show the name of each series next to its line, instead of the legend at the bottom of the chart.

I've tried

Code: Select all

renderer.setBaseItemLabelsVisible(true);
renderer.setSeriesItemLabelsVisible(0, true);
But it display the data values, not the name of the series.

Locked