how add label on the lines in a XYLineChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
marcopolo
Posts: 2
Joined: Sun Feb 06, 2005 8:59 pm

how add label on the lines in a XYLineChart

Post by marcopolo » Mon Feb 07, 2005 10:34 pm

Hello,
I want to know how is it possible to write a label over a line in a XYLineChart.

thanks a lot

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Feb 08, 2005 1:21 am

You could use an XYTextAnnotation or an XYPointerAnnotation.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked