Search found 4 matches

by noss00
Thu Aug 14, 2008 9:11 am
Forum: JFreeChart
Topic: How to draw annotation on a dateAxis domain
Replies: 5
Views: 6212

ok, if you have already created your chart, you just have to do this way : ************************** final XYPlot plot = chart.getXYPlot(); d= new Day(2,8,2008); x=d.getFirstMillisecond(); String msg="hello"; annotation = new XYTextAnnotation(msg, x, low ); annotation.setFont(new Font("SansSerif", ...
by noss00
Wed Aug 13, 2008 1:00 pm
Forum: JFreeChart
Topic: How to draw annotation on a dateAxis domain
Replies: 5
Views: 6212

yes thanks a lot, I ve finally found a similar example ...
thanks :wink:
by noss00
Thu Aug 07, 2008 10:31 am
Forum: JFreeChart
Topic: How to draw annotation on a dateAxis domain
Replies: 5
Views: 6212

How to draw annotation on a dateAxis domain

hello,
I want to put an annotation to certain points of a chart but the problem is that when the domainAxis is a date I couldn't do it.
And is it possible to add annotation to TimeSeriesChart by :
chart.getXYPlot().addAnnotation because it didn't work neither.

Thanks a lot for helping :wink:
by noss00
Tue Aug 05, 2008 4:55 pm
Forum: JFreeChart
Topic: comments on a chart
Replies: 0
Views: 1404

comments on a chart

How can I associate to each value of a chart a certain number. I used tu make a bar Chart including those numbers under the chart so that each one correspond to the value on the upper chart but it isn't enough visual.

Thanks for helping.