XYDrawableAnnotation
XYDrawableAnnotation
I have just updated to version 0.9.11 and I've been trying to use the XYDrawableAnnotation class with a CircleDrawer (MarkerDemo1). It looks like the circle is being drawn in the correct place on the XYPlot, but the height and width are in Graphics2D pixels instead of Plot axis value sizes. Is there an easy way to have the size of the circle be based on values in the Plot axis (such as 10 Plot units)?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It's not supported, but it is a good suggestion. Can you add a feature request to the database at SourceForge so I don't forget about it?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


alternative?
If I was generating an XYScatterPlot and wanted to draw a circle about the origin indicating the average value. My current work around is to actually generate a separate series using 32 points on a circle, then add this new series to the current XYPlot dataset.
Is there a better way to do this?
The average series is plotted as 32 separate points in the Scatter graph, is there an easy way to change it into a line graph of a circle?
Is there a better way to do this?
The average series is plotted as 32 separate points in the Scatter graph, is there an easy way to change it into a line graph of a circle?