Repository navigation
Replies: 2 comments 1 reply
|
Yes, annotations work with dates; some examples are seen here. |
1 reply
|
I'm not sure; you might experiment with the In addition, this related example illustrates another way to interpolate values on the time axis. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
All the Annotation APIs accepts input with double primitive.
Question here is, does Jfree Annotations can take Date coordinates as it is input represented in the Dataset?
XYSeries series1 = new XYSeries(...);
series1.add(new Month(1, 2025), 200.0D);
XYTextAnnotation annotation = new XYTextAnnotation("A", new Month(1, 2025), 300);
If not, do we have a workaround to display Texts at specified Date coordinates ? Have came across samples that converts the date value to double on Dataset and on the Annotations objects. The problem is the coordinates are somehow going out of range and texts are not displayed.
Thanks in Advance.
All reactions