hi,
how to set y axis labels at the datapoints of a line chart?
set labels on aline chart
Re: set labels on aline chart
Hello,
I'm new to JFreeChart, and as I know :
- You can use the tooltips facility to display data on each plot, when - and only when - the mouse cursor enters the area of the datapoint. If You customize the tooltipGenerator, You can of course only display the y axis label
- in case You want to draw permanently the text on the chart, I guess You have to use the XYTextAnnotation class.... but as I've never used it Yet....
Hope it helps,
Redards,
Arnaud
I'm new to JFreeChart, and as I know :
- You can use the tooltips facility to display data on each plot, when - and only when - the mouse cursor enters the area of the datapoint. If You customize the tooltipGenerator, You can of course only display the y axis label
- in case You want to draw permanently the text on the chart, I guess You have to use the XYTextAnnotation class.... but as I've never used it Yet....
Hope it helps,
Redards,
Arnaud