Search found 4 matches

by cabarete_cub
Tue Sep 15, 2015 2:26 am
Forum: JFreeChart
Topic: Time axis annotations
Replies: 7
Views: 7988

Re: Time axis annotations

@paradoxoff Thank you. Annotations was definitely a way to go. I'm still a bit puzzled with setLabel(String) method in ValueMarker class. Latest version of the API docs doesn't have it, but I'm pretty positive I saw it someplace. Anyway, simple XYTextAnnotation did it for me, and, while I didn't nee...
by cabarete_cub
Sun Sep 13, 2015 3:48 am
Forum: JFreeChart
Topic: Time axis annotations
Replies: 7
Views: 7988

Re: Time axis annotations

Err, I'm looking at it again and can't find it, and neither in the source code.
Just to be sure, the following image illustrates what I'm trying to achieve:
Image

Would it be possible to add another date axis to the plot and make it render labels on the other side?
by cabarete_cub
Fri Sep 11, 2015 4:57 pm
Forum: JFreeChart
Topic: Time axis annotations
Replies: 7
Views: 7988

Re: Time axis annotations

Yes, and I somehow overlooked the setLabel(String) method.
Thank you.
by cabarete_cub
Fri Sep 11, 2015 2:45 pm
Forum: JFreeChart
Topic: Time axis annotations
Replies: 7
Views: 7988

Time axis annotations

I want to annotate my population growth chart by placing event names on the time axis.
What would be a right way to do it?
Thank you.